#52120E#52120E
#52120E is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.4% C 0.095 H 28.1°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).
Color values
| HEX | #52120E |
|---|---|
| RGB | rgb(82, 18, 14) |
| HSL | hsl(4, 71%, 19%) |
| HSV | hsv(4, 83%, 32%) |
| CMYK | cmyk(0%, 78%, 82.9%, 67.8%) |
| CIE-LAB | lab(16.79, 29.27, 19.62) |
| CIE-LCH | lch(16.79, 35.23, 33.83°) |
| OKLab | oklab(29.39% 0.0841 0.0449) |
| OKLCH | oklch(29.39% 0.095 28.1) |
| XYZ | xyz(3.7757, 2.2587, 0.6525) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.17
Mahogany
#4A0100
ΔE00 3.23
Deep Brown
#410200
ΔE00 4.70
Rosewood
#65000B
ΔE00 4.85
Claret
#680018
ΔE00 6.49
Reddy Brown
#6E1005
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52120E #0E4E52
analogous
#520E2C #52120E #52340E
triadic
#52120E #0E5212 #120E52
tetradic
#52120E #2C520E #0E4E52 #340E52
square
#52120E #2C520E #0E4E52 #340E52
split-complementary
#52120E #0E5234 #0E2C52
monochromatic
#1A0604 #1E0705 #52120E #861D17 #BB2920
Accessibility & contrast
On white
14.47
#52120E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#52120E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52120E
14.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52120E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52120E | 1.00 | 14.47 | 1.45 | 14.47 |
| #FFFFFF | 14.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25210D
Deuteranopia (green-blind)
#352F0C
Tritanopia (blue-blind)
#5B0012
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #52120e; /* rgb */ color: rgb(82, 18, 14); /* oklch */ color: oklch(29.4% 0.095 28.1);
Tailwind
colors: {
custom: {
50: '#89554d',
500: '#52120e',
950: '#000000',
},
}SCSS
$custom: #52120e; $custom-light: #89554d; $custom-dark: #000000;
JSON
{
"hex": "#52120e",
"rgb": {
"r": 82,
"g": 18,
"b": 14
},
"hsl": {
"h": 3.529,
"s": 70.833,
"l": 18.824
},
"oklch": {
"l": 0.29392,
"c": 0.09533,
"h": 28.1
},
"luminance": 0.02258
}Semantic roles & 50–950 ramp
primary
#52120E
secondary
#2F878C
accent
#E3EE3A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877