#52170F#52170F
#52170F is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.0% C 0.090 H 30.7°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).
Color values
| HEX | #52170F |
|---|---|
| RGB | rgb(82, 23, 15) |
| HSL | hsl(7, 69%, 19%) |
| HSV | hsv(7, 82%, 32%) |
| CMYK | cmyk(0%, 72%, 81.7%, 67.8%) |
| CIE-LAB | lab(17.65, 27.00, 20.15) |
| CIE-LCH | lch(17.65, 33.69, 36.74°) |
| OKLab | oklab(30.04% 0.0772 0.0458) |
| OKLCH | oklch(30.04% 0.09 30.7) |
| XYZ | xyz(3.8727, 2.4417, 0.7192) |
| Luminance | 0.0244 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.49
Mahogany
#4A0100
ΔE00 4.51
Rosewood
#65000B
ΔE00 5.73
Deep Brown
#410200
ΔE00 5.75
Chocolate Brown
#411900
ΔE00 6.71
Reddy Brown
#6E1005
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52170F #0F4A52
analogous
#520F29 #52170F #52390F
triadic
#52170F #0F5217 #170F52
tetradic
#52170F #29520F #0F4A52 #390F52
square
#52170F #29520F #0F4A52 #390F52
split-complementary
#52170F #0F5239 #0F2952
monochromatic
#1A0705 #1E0806 #52170F #862618 #B93422
Accessibility & contrast
On white
14.11
#52170F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#52170F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52170F
14.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52170F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52170F | 1.00 | 14.11 | 1.49 | 14.11 |
| #FFFFFF | 14.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28230E
Deuteranopia (green-blind)
#36300D
Tritanopia (blue-blind)
#5B0716
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #52170f; /* rgb */ color: rgb(82, 23, 15); /* oklch */ color: oklch(30.0% 0.090 30.7);
Tailwind
colors: {
custom: {
50: '#88584e',
500: '#52170f',
950: '#000000',
},
}SCSS
$custom: #52170f; $custom-light: #88584e; $custom-dark: #000000;
JSON
{
"hex": "#52170f",
"rgb": {
"r": 82,
"g": 23,
"b": 15
},
"hsl": {
"h": 7.164,
"s": 69.072,
"l": 19.02
},
"oklch": {
"l": 0.30043,
"c": 0.08979,
"h": 30.7
},
"luminance": 0.02441
}Semantic roles & 50–950 ramp
primary
#52170F
secondary
#31818C
accent
#D7EC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877