#7F1218#7F1218
#7F1218 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.142 H 24.9°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1218 |
|---|---|
| RGB | rgb(127, 18, 24) |
| HSL | hsl(357, 75%, 28%) |
| HSV | hsv(357, 86%, 50%) |
| CMYK | cmyk(0%, 85.8%, 81.1%, 50.2%) |
| CIE-LAB | lab(26.77, 44.68, 27.45) |
| CIE-LCH | lch(26.77, 52.43, 31.56°) |
| OKLab | oklab(38.6% 0.1291 0.06) |
| OKLCH | oklch(38.6% 0.142 24.9) |
| XYZ | xyz(9.1347, 5.0121, 1.3504) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.48
Blood
#770001
ΔE00 4.46
Burgundy
#800020
ΔE00 4.50
Maroon
#800000
ΔE00 4.89
Reddy Brown
#6E1005
ΔE00 5.17
Dark Red
#840000
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1218 #127F79
analogous
#7F124E #7F1218 #7F4212
triadic
#7F1218 #187F12 #12187F
tetradic
#7F1218 #4E7F12 #127F79 #42127F
square
#7F1218 #4E7F12 #127F79 #42127F
split-complementary
#7F1218 #127F42 #124E7F
monochromatic
#1B0405 #490A0E #7F1218 #B51A22 #E12B35
Accessibility & contrast
On white
10.49
#7F1218 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7F1218 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1218
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1218 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1218 | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363017
Deuteranopia (green-blind)
#504813
Tritanopia (blue-blind)
#8D0016
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7f1218; /* rgb */ color: rgb(127, 18, 24); /* oklch */ color: oklch(38.6% 0.142 24.9);
Tailwind
colors: {
custom: {
50: '#ad5d55',
500: '#7f1218',
950: '#000000',
},
}SCSS
$custom: #7f1218; $custom-light: #ad5d55; $custom-dark: #000000;
JSON
{
"hex": "#7f1218",
"rgb": {
"r": 127,
"g": 18,
"b": 24
},
"hsl": {
"h": 356.697,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.38603,
"c": 0.14231,
"h": 24.9
},
"luminance": 0.05011
}Semantic roles & 50–950 ramp
primary
#7F1218
secondary
#38B5AE
accent
#F2E736
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978