#52121E#52121E
#52121E is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.7% C 0.094 H 14.4°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).
Color values
| HEX | #52121E |
|---|---|
| RGB | rgb(82, 18, 30) |
| HSL | hsl(349, 64%, 20%) |
| HSV | hsv(349, 78%, 32%) |
| CMYK | cmyk(0%, 78%, 63.4%, 67.8%) |
| CIE-LAB | lab(17.09, 30.29, 9.44) |
| CIE-LCH | lch(17.09, 31.72, 17.30°) |
| OKLab | oklab(29.71% 0.0911 0.0233) |
| OKLCH | oklch(29.71% 0.094 14.4) |
| XYZ | xyz(3.9307, 2.3207, 1.4690) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.54
Maroon (survey)
#650021
ΔE00 4.74
Dark Maroon
#3C0008
ΔE00 5.45
Claret
#680018
ΔE00 6.24
Deep Brown
#410200
ΔE00 6.40
Dried Blood
#4B0101
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52121E #125246
analogous
#52123E #52121E #522612
triadic
#52121E #1E5212 #121E52
tetradic
#52121E #3E5212 #125246 #261252
square
#52121E #3E5212 #125246 #261252
split-complementary
#52121E #125226 #123E52
monochromatic
#190609 #20070C #52121E #841D30 #B62843
Accessibility & contrast
On white
14.34
#52121E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#52121E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52121E
14.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52121E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52121E | 1.00 | 14.34 | 1.46 | 14.34 |
| #FFFFFF | 14.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23221E
Deuteranopia (green-blind)
#332F1C
Tritanopia (blue-blind)
#5A0317
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #52121e; /* rgb */ color: rgb(82, 18, 30); /* oklch */ color: oklch(29.7% 0.094 14.4);
Tailwind
colors: {
custom: {
50: '#875559',
500: '#52121e',
950: '#000000',
},
}SCSS
$custom: #52121e; $custom-light: #875559; $custom-dark: #000000;
JSON
{
"hex": "#52121e",
"rgb": {
"r": 82,
"g": 18,
"b": 30
},
"hsl": {
"h": 348.75,
"s": 64,
"l": 19.608
},
"oklch": {
"l": 0.2971,
"c": 0.09402,
"h": 14.4
},
"luminance": 0.0232
}Semantic roles & 50–950 ramp
primary
#52121E
secondary
#358B7B
accent
#E7C841
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878