#50170F#50170F
#50170F is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.7% C 0.087 H 30.8°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).
Color values
| HEX | #50170F |
|---|---|
| RGB | rgb(80, 23, 15) |
| HSL | hsl(7, 68%, 19%) |
| HSV | hsv(7, 81%, 31%) |
| CMYK | cmyk(0%, 71.2%, 81.3%, 68.6%) |
| CIE-LAB | lab(17.24, 26.19, 19.55) |
| CIE-LCH | lch(17.24, 32.69, 36.74°) |
| OKLab | oklab(29.66% 0.075 0.0447) |
| OKLCH | oklch(29.66% 0.087 30.8) |
| XYZ | xyz(3.7013, 2.3533, 0.7112) |
| Luminance | 0.0235 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Mahogany
#4A0100
ΔE00 4.46
Dried Blood
#4B0101
ΔE00 4.46
Deep Brown
#410200
ΔE00 5.51
Rosewood
#65000B
ΔE00 6.13
Chocolate Brown
#411900
ΔE00 6.44
Reddy Brown
#6E1005
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#50170F #0F4850
analogous
#500F27 #50170F #50370F
triadic
#50170F #0F5017 #170F50
tetradic
#50170F #27500F #0F4850 #370F50
square
#50170F #27500F #0F4850 #370F50
split-complementary
#50170F #0F5037 #0F2750
monochromatic
#1A0705 #1C0805 #50170F #842619 #B73522
Accessibility & contrast
On white
14.28
#50170F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#50170F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #50170F
14.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##50170F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##50170F | 1.00 | 14.28 | 1.47 | 14.28 |
| #FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27220E
Deuteranopia (green-blind)
#352F0D
Tritanopia (blue-blind)
#590815
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #50170f; /* rgb */ color: rgb(80, 23, 15); /* oklch */ color: oklch(29.7% 0.087 30.8);
Tailwind
colors: {
custom: {
50: '#87574e',
500: '#50170f',
950: '#000000',
},
}SCSS
$custom: #50170f; $custom-light: #87574e; $custom-dark: #000000;
JSON
{
"hex": "#50170f",
"rgb": {
"r": 80,
"g": 23,
"b": 15
},
"hsl": {
"h": 7.385,
"s": 68.421,
"l": 18.627
},
"oklch": {
"l": 0.29657,
"c": 0.08729,
"h": 30.8
},
"luminance": 0.02353
}Semantic roles & 50–950 ramp
primary
#50170F
secondary
#317F8A
accent
#D6EB3D
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877