#4E171A#4E171A
#4E171A is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.083 H 20.6°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).
Color values
| HEX | #4E171A |
|---|---|
| RGB | rgb(78, 23, 26) |
| HSL | hsl(357, 54%, 20%) |
| HSV | hsv(357, 71%, 31%) |
| CMYK | cmyk(0%, 70.5%, 66.7%, 69.4%) |
| CIE-LAB | lab(17.03, 26.11, 12.05) |
| CIE-LCH | lch(17.03, 28.76, 24.78°) |
| OKLab | oklab(29.48% 0.0775 0.0292) |
| OKLCH | oklch(29.48% 0.083 20.6) |
| XYZ | xyz(3.6351, 2.3076, 1.2311) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Brown
#410200
ΔE00 5.04
Dried Blood
#4B0101
ΔE00 5.29
Mahogany
#4A0100
ΔE00 5.36
Dark Maroon
#3C0008
ΔE00 5.63
Claret
#680018
ΔE00 6.82
Maroon (survey)
#650021
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E171A #174E4B
analogous
#4E1736 #4E171A #4E2F17
triadic
#4E171A #1A4E17 #171A4E
tetradic
#4E171A #364E17 #174E4B #2F174E
square
#4E171A #364E17 #174E4B #2F174E
split-complementary
#4E171A #174E2F #17364E
monochromatic
#180708 #1F090A #4E171A #7D252A #AD333A
Accessibility & contrast
On white
14.37
#4E171A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#4E171A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E171A
14.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E171A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E171A | 1.00 | 14.37 | 1.46 | 14.37 |
| #FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25231A
Deuteranopia (green-blind)
#332E19
Tritanopia (blue-blind)
#560C18
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #4e171a; /* rgb */ color: rgb(78, 23, 26); /* oklch */ color: oklch(29.5% 0.083 20.6);
Tailwind
colors: {
custom: {
50: '#845756',
500: '#4e171a',
950: '#000000',
},
}SCSS
$custom: #4e171a; $custom-light: #845756; $custom-dark: #000000;
JSON
{
"hex": "#4e171a",
"rgb": {
"r": 78,
"g": 23,
"b": 26
},
"hsl": {
"h": 356.727,
"s": 54.455,
"l": 19.804
},
"oklch": {
"l": 0.29479,
"c": 0.08283,
"h": 20.6
},
"luminance": 0.02307
}Semantic roles & 50–950 ramp
primary
#4E171A
secondary
#3C8581
accent
#DED64A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0303
muted
#7C7878