#52170E#52170E
#52170E is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.0% C 0.090 H 31.4°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).
Color values
| HEX | #52170E |
|---|---|
| RGB | rgb(82, 23, 14) |
| HSL | hsl(8, 71%, 19%) |
| HSV | hsv(8, 83%, 32%) |
| CMYK | cmyk(0%, 72%, 82.9%, 67.8%) |
| CIE-LAB | lab(17.64, 26.95, 20.65) |
| CIE-LCH | lch(17.64, 33.95, 37.46°) |
| OKLab | oklab(30.03% 0.0769 0.0469) |
| OKLCH | oklch(30.03% 0.09 31.4) |
| XYZ | xyz(3.8658, 2.4389, 0.6826) |
| Luminance | 0.0244 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.65
Mahogany
#4A0100
ΔE00 4.66
Rosewood
#65000B
ΔE00 5.81
Deep Brown
#410200
ΔE00 5.93
Chocolate Brown
#411900
ΔE00 6.50
Reddy Brown
#6E1005
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52170E #0E4952
analogous
#520E27 #52170E #52390E
triadic
#52170E #0E5217 #170E52
tetradic
#52170E #27520E #0E4952 #390E52
square
#52170E #27520E #0E4952 #390E52
split-complementary
#52170E #0E5239 #0E2752
monochromatic
#1A0704 #1E0805 #52170E #862617 #BB3420
Accessibility & contrast
On white
14.12
#52170E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#52170E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52170E
14.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52170E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52170E | 1.00 | 14.12 | 1.49 | 14.12 |
| #FFFFFF | 14.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28230D
Deuteranopia (green-blind)
#36300C
Tritanopia (blue-blind)
#5B0715
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #52170e; /* rgb */ color: rgb(82, 23, 14); /* oklch */ color: oklch(30.0% 0.090 31.4);
Tailwind
colors: {
custom: {
50: '#88584d',
500: '#52170e',
950: '#000000',
},
}SCSS
$custom: #52170e; $custom-light: #88584d; $custom-dark: #000000;
JSON
{
"hex": "#52170e",
"rgb": {
"r": 82,
"g": 23,
"b": 14
},
"hsl": {
"h": 7.941,
"s": 70.833,
"l": 18.824
},
"oklch": {
"l": 0.30029,
"c": 0.09001,
"h": 31.4
},
"luminance": 0.02438
}Semantic roles & 50–950 ramp
primary
#52170E
secondary
#2F808C
accent
#D6EE3A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877