#4A171E#4A171E
#4A171E is a dark, moderate red. Relative luminance 0.022; OKLCH L 28.8% C 0.078 H 15.2°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).
Color values
| HEX | #4A171E |
|---|---|
| RGB | rgb(74, 23, 30) |
| HSL | hsl(352, 53%, 19%) |
| HSV | hsv(352, 69%, 29%) |
| CMYK | cmyk(0%, 68.9%, 59.5%, 71%) |
| CIE-LAB | lab(16.32, 24.87, 8.12) |
| CIE-LCH | lch(16.32, 26.16, 18.08°) |
| OKLab | oklab(28.83% 0.0748 0.0204) |
| OKLCH | oklch(28.83% 0.078 15.2) |
| XYZ | xyz(3.3651, 2.1628, 1.4683) |
| Luminance | 0.0216 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 5.30
Deep Brown
#410200
ΔE00 6.35
Burgundy (survey)
#610023
ΔE00 6.86
Maroon (survey)
#650021
ΔE00 7.19
Dried Blood
#4B0101
ΔE00 7.29
Mahogany
#4A0100
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A171E #174A43
analogous
#4A1738 #4A171E #4A2A17
triadic
#4A171E #1E4A17 #171E4A
tetradic
#4A171E #384A17 #174A43 #2A174A
square
#4A171E #384A17 #174A43 #2A174A
split-complementary
#4A171E #174A2A #17384A
monochromatic
#170709 #1B080B #4A171E #792631 #A73444
Accessibility & contrast
On white
14.66
#4A171E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#4A171E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A171E
14.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A171E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A171E | 1.00 | 14.66 | 1.43 | 14.66 |
| #FFFFFF | 14.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23221E
Deuteranopia (green-blind)
#302C1D
Tritanopia (blue-blind)
#510E1A
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #4a171e; /* rgb */ color: rgb(74, 23, 30); /* oklch */ color: oklch(28.8% 0.078 15.2);
Tailwind
colors: {
custom: {
50: '#805759',
500: '#4a171e',
950: '#000000',
},
}SCSS
$custom: #4a171e; $custom-light: #805759; $custom-dark: #000000;
JSON
{
"hex": "#4a171e",
"rgb": {
"r": 74,
"g": 23,
"b": 30
},
"hsl": {
"h": 351.765,
"s": 52.577,
"l": 19.02
},
"oklch": {
"l": 0.28828,
"c": 0.07756,
"h": 15.2
},
"luminance": 0.02162
}Semantic roles & 50–950 ramp
primary
#4A171E
secondary
#3C8178
accent
#DCC84C
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878