#50171C#50171C
#50171C is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.085 H 18.9°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).
Color values
| HEX | #50171C |
|---|---|
| RGB | rgb(80, 23, 28) |
| HSL | hsl(355, 55%, 20%) |
| HSV | hsv(355, 71%, 31%) |
| CMYK | cmyk(0%, 71.2%, 65%, 68.6%) |
| CIE-LAB | lab(17.47, 27.06, 11.30) |
| CIE-LCH | lch(17.47, 29.32, 22.66°) |
| OKLab | oklab(29.9% 0.0807 0.0276) |
| OKLCH | oklch(29.9% 0.085 18.9) |
| XYZ | xyz(3.8246, 2.4026, 1.3607) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Brown
#410200
ΔE00 5.53
Dark Maroon
#3C0008
ΔE00 5.70
Dried Blood
#4B0101
ΔE00 5.74
Mahogany
#4A0100
ΔE00 5.83
Maroon (survey)
#650021
ΔE00 6.32
Claret
#680018
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#50171C #17504B
analogous
#501738 #50171C #502E17
triadic
#50171C #1C5017 #171C50
tetradic
#50171C #385017 #17504B #2E1750
square
#50171C #385017 #17504B #2E1750
split-complementary
#50171C #17502E #173850
monochromatic
#180708 #20090B #50171C #80252D #AF323D
Accessibility & contrast
On white
14.19
#50171C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#50171C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #50171C
14.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##50171C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##50171C | 1.00 | 14.19 | 1.48 | 14.19 |
| #FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25231C
Deuteranopia (green-blind)
#342F1B
Tritanopia (blue-blind)
#580B19
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #50171c; /* rgb */ color: rgb(80, 23, 28); /* oklch */ color: oklch(29.9% 0.085 18.9);
Tailwind
colors: {
custom: {
50: '#865857',
500: '#50171c',
950: '#000000',
},
}SCSS
$custom: #50171c; $custom-light: #865857; $custom-dark: #000000;
JSON
{
"hex": "#50171c",
"rgb": {
"r": 80,
"g": 23,
"b": 28
},
"hsl": {
"h": 354.737,
"s": 55.34,
"l": 20.196
},
"oklch": {
"l": 0.29904,
"c": 0.08525,
"h": 18.9
},
"luminance": 0.02402
}Semantic roles & 50–950 ramp
primary
#50171C
secondary
#3C8781
accent
#DFD249
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878