#4F170F#4F170F
#4F170F is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.086 H 30.9°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).
Color values
| HEX | #4F170F |
|---|---|
| RGB | rgb(79, 23, 15) |
| HSL | hsl(8, 68%, 18%) |
| HSV | hsv(8, 81%, 31%) |
| CMYK | cmyk(0%, 70.9%, 81%, 69%) |
| CIE-LAB | lab(17.04, 25.79, 19.26) |
| CIE-LCH | lch(17.04, 32.18, 36.75°) |
| OKLab | oklab(29.46% 0.0738 0.0442) |
| OKLCH | oklch(29.46% 0.086 30.9) |
| XYZ | xyz(3.6175, 2.3101, 0.7072) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Mahogany
#4A0100
ΔE00 4.46
Dried Blood
#4B0101
ΔE00 4.47
Deep Brown
#410200
ΔE00 5.41
Chocolate Brown
#411900
ΔE00 6.31
Rosewood
#65000B
ΔE00 6.33
Reddy Brown
#6E1005
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F170F #0F474F
analogous
#4F0F27 #4F170F #4F370F
triadic
#4F170F #0F4F17 #170F4F
tetradic
#4F170F #274F0F #0F474F #370F4F
square
#4F170F #274F0F #0F474F #370F4F
split-complementary
#4F170F #0F4F37 #0F274F
monochromatic
#1A0705 #1C0805 #4F170F #822619 #B63523
Accessibility & contrast
On white
14.36
#4F170F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#4F170F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F170F
14.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F170F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F170F | 1.00 | 14.36 | 1.46 | 14.36 |
| #FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27220E
Deuteranopia (green-blind)
#352F0D
Tritanopia (blue-blind)
#580815
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #4f170f; /* rgb */ color: rgb(79, 23, 15); /* oklch */ color: oklch(29.5% 0.086 30.9);
Tailwind
colors: {
custom: {
50: '#86574e',
500: '#4f170f',
950: '#000000',
},
}SCSS
$custom: #4f170f; $custom-light: #86574e; $custom-dark: #000000;
JSON
{
"hex": "#4f170f",
"rgb": {
"r": 79,
"g": 23,
"b": 15
},
"hsl": {
"h": 7.5,
"s": 68.085,
"l": 18.431
},
"oklch": {
"l": 0.29464,
"c": 0.08604,
"h": 30.9
},
"luminance": 0.0231
}Semantic roles & 50–950 ramp
primary
#4F170F
secondary
#317E89
accent
#D5EB3D
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877