#52120B#52120B
#52120B is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.4% C 0.096 H 30.0°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).
Color values
| HEX | #52120B |
|---|---|
| RGB | rgb(82, 18, 11) |
| HSL | hsl(6, 76%, 18%) |
| HSV | hsv(6, 87%, 32%) |
| CMYK | cmyk(0%, 78%, 86.6%, 67.8%) |
| CIE-LAB | lab(16.75, 29.14, 20.97) |
| CIE-LCH | lch(16.75, 35.90, 35.74°) |
| OKLab | oklab(29.35% 0.083 0.048) |
| OKLCH | oklch(29.35% 0.096 30) |
| XYZ | xyz(3.7568, 2.2512, 0.5533) |
| Luminance | 0.0225 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.54
Mahogany
#4A0100
ΔE00 3.57
Rosewood
#65000B
ΔE00 4.96
Deep Brown
#410200
ΔE00 5.14
Reddy Brown
#6E1005
ΔE00 6.63
Claret
#680018
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52120B #0B4B52
analogous
#520B27 #52120B #52350B
triadic
#52120B #0B5212 #120B52
tetradic
#52120B #27520B #0B4B52 #350B52
square
#52120B #27520B #0B4B52 #350B52
split-complementary
#52120B #0B5235 #0B2752
monochromatic
#1B0604 #1C0604 #52120B #881E12 #BE2A19
Accessibility & contrast
On white
14.48
#52120B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#52120B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52120B
14.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52120B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52120B | 1.00 | 14.48 | 1.45 | 14.48 |
| #FFFFFF | 14.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25200A
Deuteranopia (green-blind)
#352E08
Tritanopia (blue-blind)
#5B0011
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #52120b; /* rgb */ color: rgb(82, 18, 11); /* oklch */ color: oklch(29.4% 0.096 30.0);
Tailwind
colors: {
custom: {
50: '#89554b',
500: '#52120b',
950: '#000000',
},
}SCSS
$custom: #52120b; $custom-light: #89554b; $custom-dark: #000000;
JSON
{
"hex": "#52120b",
"rgb": {
"r": 82,
"g": 18,
"b": 11
},
"hsl": {
"h": 5.915,
"s": 76.344,
"l": 18.235
},
"oklch": {
"l": 0.29353,
"c": 0.09587,
"h": 30
},
"luminance": 0.02251
}Semantic roles & 50–950 ramp
primary
#52120B
secondary
#2B848E
accent
#E0F335
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877