#7F2121#7F2121
#7F2121 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.129 H 25.1°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2121 |
|---|---|
| RGB | rgb(127, 33, 33) |
| HSL | hsl(0, 59%, 31%) |
| HSV | hsv(0, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 74%, 50.2%) |
| CIE-LAB | lab(28.67, 40.08, 23.93) |
| CIE-LCH | lch(28.67, 46.67, 30.84°) |
| OKLab | oklab(40.06% 0.1166 0.0547) |
| OKLCH | oklch(40.06% 0.129 25.1) |
| XYZ | xyz(9.5718, 5.7110, 2.0369) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.88
Crimson (survey)
#8C000F
ΔE00 4.99
Wine Red
#7B0323
ΔE00 6.02
Blood
#770001
ΔE00 6.26
Reddy Brown
#6E1005
ΔE00 6.37
Carmine
#9D0216
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2121 #217F7F
analogous
#7F2150 #7F2121 #7F5021
triadic
#7F2121 #217F21 #21217F
tetradic
#7F2121 #507F21 #217F7F #50217F
square
#7F2121 #507F21 #217F7F #50217F
split-complementary
#7F2121 #217F50 #21507F
monochromatic
#1E0808 #4E1414 #7F2121 #B02E2E #D04A4A
Accessibility & contrast
On white
9.80
#7F2121 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7F2121 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2121
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2121 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2121 | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3720
Deuteranopia (green-blind)
#544B1E
Tritanopia (blue-blind)
#8C0022
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f2121; /* rgb */ color: rgb(127, 33, 33); /* oklch */ color: oklch(40.1% 0.129 25.1);
Tailwind
colors: {
custom: {
50: '#ab645c',
500: '#7f2121',
950: '#000000',
},
}SCSS
$custom: #7f2121; $custom-light: #ab645c; $custom-dark: #000000;
JSON
{
"hex": "#7f2121",
"rgb": {
"r": 127,
"g": 33,
"b": 33
},
"hsl": {
"h": 0,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.40055,
"c": 0.12877,
"h": 25.1
},
"luminance": 0.0571
}Semantic roles & 50–950 ramp
primary
#7F2121
secondary
#4AB2B2
accent
#E2E246
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79