#7F2118#7F2118
#7F2118 is a dark, vivid red. Relative luminance 0.057; OKLCH L 39.9% C 0.130 H 29.5°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2118 |
|---|---|
| RGB | rgb(127, 33, 24) |
| HSL | hsl(5, 68%, 30%) |
| HSV | hsv(5, 81%, 50%) |
| CMYK | cmyk(0%, 74%, 81.1%, 50.2%) |
| CIE-LAB | lab(28.56, 39.68, 29.31) |
| CIE-LCH | lch(28.56, 49.33, 36.45°) |
| OKLab | oklab(39.93% 0.1133 0.0641) |
| OKLCH | oklch(39.93% 0.13 29.5) |
| XYZ | xyz(9.4622, 5.6671, 1.4596) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 3.85
Crimson (survey)
#8C000F
ΔE00 3.93
Maroon
#800000
ΔE00 4.26
Dark Red
#840000
ΔE00 4.35
Blood
#770001
ΔE00 4.51
Reddy Brown
#6E1005
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2118 #18767F
analogous
#7F1842 #7F2118 #7F5518
triadic
#7F2118 #187F21 #21187F
tetradic
#7F2118 #427F18 #18767F #55187F
square
#7F2118 #427F18 #18767F #55187F
split-complementary
#7F2118 #187F55 #18427F
monochromatic
#1A0705 #4C140E #7F2118 #B22E22 #D94638
Accessibility & contrast
On white
9.84
#7F2118 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7F2118 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2118
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2118 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2118 | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3616
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f2118; /* rgb */ color: rgb(127, 33, 24); /* oklch */ color: oklch(39.9% 0.130 29.5);
Tailwind
colors: {
custom: {
50: '#ac6356',
500: '#7f2118',
950: '#000000',
},
}SCSS
$custom: #7f2118; $custom-light: #ac6356; $custom-dark: #000000;
JSON
{
"hex": "#7f2118",
"rgb": {
"r": 127,
"g": 33,
"b": 24
},
"hsl": {
"h": 5.243,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.39933,
"c": 0.13016,
"h": 29.5
},
"luminance": 0.05666
}Semantic roles & 50–950 ramp
primary
#7F2118
secondary
#3FA9B3
accent
#DCEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78