#7F1822#7F1822
#7F1822 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.137 H 21.6°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1822 |
|---|---|
| RGB | rgb(127, 24, 34) |
| HSL | hsl(354, 68%, 30%) |
| HSV | hsv(354, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 73.2%, 50.2%) |
| CIE-LAB | lab(27.52, 43.36, 21.93) |
| CIE-LCH | lch(27.52, 48.59, 26.83°) |
| OKLab | oklab(39.21% 0.1273 0.0505) |
| OKLCH | oklch(39.21% 0.137 21.6) |
| XYZ | xyz(9.3688, 5.2823, 2.0393) |
| Luminance | 0.0528 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.59
Wine Red
#7B0323
ΔE00 3.71
Claret
#680018
ΔE00 5.65
Crimson (survey)
#8C000F
ΔE00 5.91
Rosewood
#65000B
ΔE00 6.45
Bordeaux
#7B002C
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1822 #187F75
analogous
#7F1856 #7F1822 #7F4218
triadic
#7F1822 #227F18 #18227F
tetradic
#7F1822 #567F18 #187F75 #42187F
square
#7F1822 #567F18 #187F75 #42187F
split-complementary
#7F1822 #187F42 #18567F
monochromatic
#1A0507 #4C0E14 #7F1822 #B22230 #D93848
Accessibility & contrast
On white
10.21
#7F1822 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7F1822 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1822
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1822 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1822 | 1.00 | 10.21 | 2.06 | 10.21 |
| #FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373321
Deuteranopia (green-blind)
#51491F
Tritanopia (blue-blind)
#8C001D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1822; /* rgb */ color: rgb(127, 24, 34); /* oklch */ color: oklch(39.2% 0.137 21.6);
Tailwind
colors: {
custom: {
50: '#ac605d',
500: '#7f1822',
950: '#000000',
},
}SCSS
$custom: #7f1822; $custom-light: #ac605d; $custom-dark: #000000;
JSON
{
"hex": "#7f1822",
"rgb": {
"r": 127,
"g": 24,
"b": 34
},
"hsl": {
"h": 354.175,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.39207,
"c": 0.13691,
"h": 21.6
},
"luminance": 0.05281
}Semantic roles & 50–950 ramp
primary
#7F1822
secondary
#3FB3A8
accent
#EBDA3D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979