#4F181B#4F181B
#4F181B is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.8% C 0.083 H 20.5°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).
Color values
| HEX | #4F181B |
|---|---|
| RGB | rgb(79, 24, 27) |
| HSL | hsl(357, 53%, 20%) |
| HSV | hsv(357, 70%, 31%) |
| CMYK | cmyk(0%, 69.6%, 65.8%, 69%) |
| CIE-LAB | lab(17.44, 26.08, 11.92) |
| CIE-LCH | lch(17.44, 28.67, 24.57°) |
| OKLab | oklab(29.83% 0.0775 0.029) |
| OKLCH | oklch(29.83% 0.083 20.5) |
| XYZ | xyz(3.7493, 2.3952, 1.3016) |
| Luminance | 0.0239 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Brown
#410200
ΔE00 5.32
Dried Blood
#4B0101
ΔE00 5.50
Mahogany
#4A0100
ΔE00 5.58
Dark Maroon
#3C0008
ΔE00 5.87
Claret
#680018
ΔE00 6.77
Maroon (survey)
#650021
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F181B #184F4C
analogous
#4F1837 #4F181B #4F3018
triadic
#4F181B #1B4F18 #181B4F
tetradic
#4F181B #374F18 #184F4C #30184F
square
#4F181B #374F18 #184F4C #30184F
split-complementary
#4F181B #184F30 #18374F
monochromatic
#170708 #200A0B #4F181B #7E262B #AD353B
Accessibility & contrast
On white
14.20
#4F181B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#4F181B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F181B
14.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F181B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F181B | 1.00 | 14.20 | 1.48 | 14.20 |
| #FFFFFF | 14.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26241B
Deuteranopia (green-blind)
#342F1A
Tritanopia (blue-blind)
#570D19
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #4f181b; /* rgb */ color: rgb(79, 24, 27); /* oklch */ color: oklch(29.8% 0.083 20.5);
Tailwind
colors: {
custom: {
50: '#855857',
500: '#4f181b',
950: '#000000',
},
}SCSS
$custom: #4f181b; $custom-light: #855857; $custom-dark: #000000;
JSON
{
"hex": "#4f181b",
"rgb": {
"r": 79,
"g": 24,
"b": 27
},
"hsl": {
"h": 356.727,
"s": 53.398,
"l": 20.196
},
"oklch": {
"l": 0.29833,
"c": 0.08272,
"h": 20.5
},
"luminance": 0.02395
}Semantic roles & 50–950 ramp
primary
#4F181B
secondary
#3D8682
accent
#DDD54B
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878