#7F2218#7F2218
#7F2218 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.129 H 29.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2218 |
|---|---|
| RGB | rgb(127, 34, 24) |
| HSL | hsl(6, 68%, 30%) |
| HSV | hsv(6, 81%, 50%) |
| CMYK | cmyk(0%, 73.2%, 81.1%, 50.2%) |
| CIE-LAB | lab(28.70, 39.27, 29.46) |
| CIE-LCH | lch(28.70, 49.10, 36.88°) |
| OKLab | oklab(40.04% 0.112 0.0644) |
| OKLCH | oklch(40.04% 0.129 29.9) |
| XYZ | xyz(9.4904, 5.7235, 1.4690) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 3.82
Crimson (survey)
#8C000F
ΔE00 4.08
Maroon
#800000
ΔE00 4.32
Dark Red
#840000
ΔE00 4.39
Blood
#770001
ΔE00 4.62
Reddy Brown
#6E1005
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2218 #18757F
analogous
#7F1842 #7F2218 #7F5618
triadic
#7F2218 #187F22 #22187F
tetradic
#7F2218 #427F18 #18757F #56187F
square
#7F2218 #427F18 #18757F #56187F
split-complementary
#7F2218 #187F56 #18427F
monochromatic
#1A0705 #4C140E #7F2218 #B23022 #D94838
Accessibility & contrast
On white
9.79
#7F2218 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7F2218 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2218
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2218 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2218 | 1.00 | 9.79 | 2.14 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3716
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f2218; /* rgb */ color: rgb(127, 34, 24); /* oklch */ color: oklch(40.0% 0.129 29.9);
Tailwind
colors: {
custom: {
50: '#ac6456',
500: '#7f2218',
950: '#000000',
},
}SCSS
$custom: #7f2218; $custom-light: #ac6456; $custom-dark: #000000;
JSON
{
"hex": "#7f2218",
"rgb": {
"r": 127,
"g": 34,
"b": 24
},
"hsl": {
"h": 5.825,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.40043,
"c": 0.12923,
"h": 29.9
},
"luminance": 0.05722
}Semantic roles & 50–950 ramp
primary
#7F2218
secondary
#3FA8B3
accent
#DAEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78