#7F1821#7F1821
#7F1821 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.137 H 22.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1821 |
|---|---|
| RGB | rgb(127, 24, 33) |
| HSL | hsl(355, 68%, 30%) |
| HSV | hsv(355, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 74%, 50.2%) |
| CIE-LAB | lab(27.51, 43.31, 22.56) |
| CIE-LCH | lch(27.51, 48.84, 27.51°) |
| OKLab | oklab(39.19% 0.1269 0.0517) |
| OKLCH | oklch(39.19% 0.137 22.2) |
| XYZ | xyz(9.3546, 5.2766, 1.9645) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.81
Wine Red
#7B0323
ΔE00 4.01
Crimson (survey)
#8C000F
ΔE00 5.59
Claret
#680018
ΔE00 5.76
Rosewood
#65000B
ΔE00 6.32
Blood
#770001
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1821 #187F76
analogous
#7F1855 #7F1821 #7F4218
triadic
#7F1821 #217F18 #18217F
tetradic
#7F1821 #557F18 #187F76 #42187F
square
#7F1821 #557F18 #187F76 #42187F
split-complementary
#7F1821 #187F42 #18557F
monochromatic
#1A0507 #4C0E14 #7F1821 #B2222E #D93846
Accessibility & contrast
On white
10.22
#7F1821 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7F1821 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1821
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1821 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1821 | 1.00 | 10.22 | 2.06 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373320
Deuteranopia (green-blind)
#51491D
Tritanopia (blue-blind)
#8C001C
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1821; /* rgb */ color: rgb(127, 24, 33); /* oklch */ color: oklch(39.2% 0.137 22.2);
Tailwind
colors: {
custom: {
50: '#ac605c',
500: '#7f1821',
950: '#000000',
},
}SCSS
$custom: #7f1821; $custom-light: #ac605c; $custom-dark: #000000;
JSON
{
"hex": "#7f1821",
"rgb": {
"r": 127,
"g": 24,
"b": 33
},
"hsl": {
"h": 354.757,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.3919,
"c": 0.13698,
"h": 22.2
},
"luminance": 0.05275
}Semantic roles & 50–950 ramp
primary
#7F1821
secondary
#3FB3A9
accent
#EBDC3D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979