#4A171F#4A171F
#4A171F is a dark, moderate red. Relative luminance 0.022; OKLCH L 28.9% C 0.078 H 14.0°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).
Color values
| HEX | #4A171F |
|---|---|
| RGB | rgb(74, 23, 31) |
| HSL | hsl(351, 53%, 19%) |
| HSV | hsv(351, 69%, 29%) |
| CMYK | cmyk(0%, 68.9%, 58.1%, 71%) |
| CIE-LAB | lab(16.35, 24.97, 7.44) |
| CIE-LCH | lch(16.35, 26.05, 16.58°) |
| OKLab | oklab(28.86% 0.0753 0.0188) |
| OKLCH | oklch(28.86% 0.078 14) |
| XYZ | xyz(3.3780, 2.1680, 1.5366) |
| Luminance | 0.0217 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 5.42
Deep Brown
#410200
ΔE00 6.72
Burgundy (survey)
#610023
ΔE00 6.73
Maroon (survey)
#650021
ΔE00 7.16
Dried Blood
#4B0101
ΔE00 7.69
Mahogany
#4A0100
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A171F #174A42
analogous
#4A1739 #4A171F #4A2917
triadic
#4A171F #1F4A17 #171F4A
tetradic
#4A171F #394A17 #174A42 #29174A
square
#4A171F #394A17 #174A42 #29174A
split-complementary
#4A171F #174A29 #17394A
monochromatic
#17070A #1B080B #4A171F #792633 #A73446
Accessibility & contrast
On white
14.65
#4A171F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#4A171F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A171F
14.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A171F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A171F | 1.00 | 14.65 | 1.43 | 14.65 |
| #FFFFFF | 14.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23221F
Deuteranopia (green-blind)
#302C1E
Tritanopia (blue-blind)
#510F1A
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #4a171f; /* rgb */ color: rgb(74, 23, 31); /* oklch */ color: oklch(28.9% 0.078 14.0);
Tailwind
colors: {
custom: {
50: '#80575a',
500: '#4a171f',
950: '#000000',
},
}SCSS
$custom: #4a171f; $custom-light: #80575a; $custom-dark: #000000;
JSON
{
"hex": "#4a171f",
"rgb": {
"r": 74,
"g": 23,
"b": 31
},
"hsl": {
"h": 350.588,
"s": 52.577,
"l": 19.02
},
"oklch": {
"l": 0.28856,
"c": 0.0776,
"h": 14
},
"luminance": 0.02168
}Semantic roles & 50–950 ramp
primary
#4A171F
secondary
#3C8176
accent
#DCC54C
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878