#4E171F#4E171F
#4E171F is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.083 H 15.2°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).
Color values
| HEX | #4E171F |
|---|---|
| RGB | rgb(78, 23, 31) |
| HSL | hsl(351, 54%, 20%) |
| HSV | hsv(351, 71%, 31%) |
| CMYK | cmyk(0%, 70.5%, 60.3%, 69.4%) |
| CIE-LAB | lab(17.14, 26.55, 8.65) |
| CIE-LCH | lch(17.14, 27.92, 18.05°) |
| OKLab | oklab(29.6% 0.0798 0.0216) |
| OKLCH | oklch(29.6% 0.083 15.2) |
| XYZ | xyz(3.6959, 2.3319, 1.5515) |
| Luminance | 0.0233 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 5.57
Burgundy (survey)
#610023
ΔE00 6.05
Maroon (survey)
#650021
ΔE00 6.29
Deep Brown
#410200
ΔE00 6.45
Dried Blood
#4B0101
ΔE00 7.09
Mahogany
#4A0100
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E171F #174E46
analogous
#4E173A #4E171F #4E2B17
triadic
#4E171F #1F4E17 #171F4E
tetradic
#4E171F #3A4E17 #174E46 #2B174E
square
#4E171F #3A4E17 #174E46 #2B174E
split-complementary
#4E171F #174E2B #173A4E
monochromatic
#180709 #1F090C #4E171F #7D2532 #AD3345
Accessibility & contrast
On white
14.32
#4E171F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#4E171F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E171F
14.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E171F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E171F | 1.00 | 14.32 | 1.47 | 14.32 |
| #FFFFFF | 14.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24231F
Deuteranopia (green-blind)
#322E1E
Tritanopia (blue-blind)
#560D1A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #4e171f; /* rgb */ color: rgb(78, 23, 31); /* oklch */ color: oklch(29.6% 0.083 15.2);
Tailwind
colors: {
custom: {
50: '#84575a',
500: '#4e171f',
950: '#000000',
},
}SCSS
$custom: #4e171f; $custom-light: #84575a; $custom-dark: #000000;
JSON
{
"hex": "#4e171f",
"rgb": {
"r": 78,
"g": 23,
"b": 31
},
"hsl": {
"h": 351.273,
"s": 54.455,
"l": 19.804
},
"oklch": {
"l": 0.29603,
"c": 0.08272,
"h": 15.2
},
"luminance": 0.02331
}Semantic roles & 50–950 ramp
primary
#4E171F
secondary
#3C857A
accent
#DEC84A
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878