#52121C#52121C
#52121C is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.7% C 0.094 H 16.3°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).
Color values
| HEX | #52121C |
|---|---|
| RGB | rgb(82, 18, 28) |
| HSL | hsl(351, 64%, 20%) |
| HSV | hsv(351, 78%, 32%) |
| CMYK | cmyk(0%, 78%, 65.9%, 67.8%) |
| CIE-LAB | lab(17.04, 30.13, 10.81) |
| CIE-LCH | lch(17.04, 32.01, 19.73°) |
| OKLab | oklab(29.66% 0.0902 0.0264) |
| OKLCH | oklch(29.66% 0.094 16.3) |
| XYZ | xyz(3.9060, 2.3108, 1.3387) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 4.94
Burgundy (survey)
#610023
ΔE00 5.03
Dark Maroon
#3C0008
ΔE00 5.33
Deep Brown
#410200
ΔE00 5.75
Claret
#680018
ΔE00 5.77
Dried Blood
#4B0101
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52121C #125248
analogous
#52123C #52121C #522812
triadic
#52121C #1C5212 #121C52
tetradic
#52121C #3C5212 #125248 #281252
square
#52121C #3C5212 #125248 #281252
split-complementary
#52121C #125228 #123C52
monochromatic
#190609 #20070B #52121C #841D2D #B6283E
Accessibility & contrast
On white
14.36
#52121C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#52121C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52121C
14.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52121C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52121C | 1.00 | 14.36 | 1.46 | 14.36 |
| #FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23211C
Deuteranopia (green-blind)
#332F1A
Tritanopia (blue-blind)
#5A0216
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #52121c; /* rgb */ color: rgb(82, 18, 28); /* oklch */ color: oklch(29.7% 0.094 16.3);
Tailwind
colors: {
custom: {
50: '#885557',
500: '#52121c',
950: '#000000',
},
}SCSS
$custom: #52121c; $custom-light: #885557; $custom-dark: #000000;
JSON
{
"hex": "#52121c",
"rgb": {
"r": 82,
"g": 18,
"b": 28
},
"hsl": {
"h": 350.625,
"s": 64,
"l": 19.608
},
"oklch": {
"l": 0.29659,
"c": 0.09395,
"h": 16.3
},
"luminance": 0.0231
}Semantic roles & 50–950 ramp
primary
#52121C
secondary
#358B7D
accent
#E7CD41
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878