- AA normal text
- Pass
- AA large text
- Pass
- AAA normal text
- Pass
- AAA large text
- Pass
Color reference
Radix Gray 12
- Color family
- Neutral
- Recommended foreground
- #FFFFFF
Calculated profile
What the numbers say
At 0° hue, Radix Gray 12 is a near-neutral, very dark, achromatic sRGB color. Its relative luminance is 1.44%. For text on this background, #FFFFFF produces the stronger contrast at 16.29:1.
- HSL lightness
- 13%
- HSL saturation
- 0%
- Relative luminance
- 1.44%
- Hue group
- achromatic
02
Copy-ready color formats
Equivalent CSS notations calculated from the same six-digit sRGB value, including perceptual OKLCH.
03
Text contrast against this color
Ratios use WCAG relative luminance. Passing a ratio does not by itself certify an interface.
- AA normal text
- Fail
- AA large text
- Fail
- AAA normal text
- Fail
- AAA large text
- Fail
04
Calculated tints and shades
Tints mix the color with white; shades mix it with black in sRGB.
Tints
Shades
05
Hue-wheel relationships
These colors keep the original HSL saturation and lightness while rotating hue. They are mathematical starting points, not automatic design recommendations.
06
Opacity variants
Eight-digit HEX and modern rgb() alpha syntax for the same opacity.
07
CSS starter
A small custom-property block using the calculated foreground with the stronger black-or-white contrast.
--color-radix-gray-12-202020: #202020;
--color-radix-gray-12-202020-rgb: 32 32 32;
--color-radix-gray-12-202020-hsl: 0 0% 13%;
--color-radix-gray-12-202020-oklch: oklch(24.4% 0.0000 0);
color: #FFFFFF;
background-color: var(--color-radix-gray-12-202020);Community review
Suggest a correction
Correction for Radix Gray 12#202020
Found an inaccurate name, explanation, source, or accessibility detail? Send a concise correction for editorial review.
08 / Verification
Where the values come from
The color name and HEX value are checked against the cited standard. RGB, HSL, HWB, luminance, and contrast are then calculated from that HEX value using published formulas.
- Source for the name and HEX
- @radix-ui/colors 3.0.0 Gray scale
- License
- MIT License
- Version
- @radix-ui/colors 3.0.0
Continue with a method