#52121B#52121B
#52121B is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.094 H 17.3°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).
Color values
| HEX | #52121B |
|---|---|
| RGB | rgb(82, 18, 27) |
| HSL | hsl(352, 64%, 20%) |
| HSV | hsv(352, 78%, 32%) |
| CMYK | cmyk(0%, 78%, 67.1%, 67.8%) |
| CIE-LAB | lab(17.02, 30.05, 11.49) |
| CIE-LCH | lch(17.02, 32.17, 20.92°) |
| OKLab | oklab(29.64% 0.0897 0.0279) |
| OKLCH | oklch(29.64% 0.094 17.3) |
| XYZ | xyz(3.8942, 2.3061, 1.2768) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 5.10
Burgundy (survey)
#610023
ΔE00 5.32
Dark Maroon
#3C0008
ΔE00 5.32
Deep Brown
#410200
ΔE00 5.45
Dried Blood
#4B0101
ΔE00 5.51
Claret
#680018
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52121B #125249
analogous
#52123B #52121B #522912
triadic
#52121B #1B5212 #121B52
tetradic
#52121B #3B5212 #125249 #291252
square
#52121B #3B5212 #125249 #291252
split-complementary
#52121B #125229 #123B52
monochromatic
#190608 #20070A #52121B #841D2C #B6283C
Accessibility & contrast
On white
14.37
#52121B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#52121B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52121B
14.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52121B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52121B | 1.00 | 14.37 | 1.46 | 14.37 |
| #FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23211B
Deuteranopia (green-blind)
#332F19
Tritanopia (blue-blind)
#5B0216
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #52121b; /* rgb */ color: rgb(82, 18, 27); /* oklch */ color: oklch(29.6% 0.094 17.3);
Tailwind
colors: {
custom: {
50: '#885557',
500: '#52121b',
950: '#000000',
},
}SCSS
$custom: #52121b; $custom-light: #885557; $custom-dark: #000000;
JSON
{
"hex": "#52121b",
"rgb": {
"r": 82,
"g": 18,
"b": 27
},
"hsl": {
"h": 351.563,
"s": 64,
"l": 19.608
},
"oklch": {
"l": 0.29635,
"c": 0.09395,
"h": 17.3
},
"luminance": 0.02306
}Semantic roles & 50–950 ramp
primary
#52121B
secondary
#358B7F
accent
#E7D041
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878