#7F2229#7F2229
#7F2229 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.3% C 0.127 H 20.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2229 |
|---|---|
| RGB | rgb(127, 34, 41) |
| HSL | hsl(355, 58%, 32%) |
| HSV | hsv(355, 73%, 50%) |
| CMYK | cmyk(0%, 73.2%, 67.7%, 50.2%) |
| CIE-LAB | lab(28.95, 40.13, 19.11) |
| CIE-LCH | lch(28.95, 44.45, 25.47°) |
| OKLab | oklab(40.3% 0.1185 0.0453) |
| OKLCH | oklch(40.3% 0.127 20.9) |
| XYZ | xyz(9.7257, 5.8176, 2.7082) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.76
Wine Red
#7B0323
ΔE00 4.25
Wine
#722F37
ΔE00 5.68
Claret
#680018
ΔE00 6.52
Bordeaux
#7B002C
ΔE00 6.70
Red Wine
#8C0034
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2229 #227F78
analogous
#7F2258 #7F2229 #7F4A22
triadic
#7F2229 #297F22 #22297F
tetradic
#7F2229 #587F22 #227F78 #4A227F
square
#7F2229 #587F22 #227F78 #4A227F
split-complementary
#7F2229 #227F4A #22587F
monochromatic
#1E080A #4F1519 #7F2229 #AF2F39 #CF4C56
Accessibility & contrast
On white
9.71
#7F2229 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7F2229 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2229
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2229 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2229 | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3829
Deuteranopia (green-blind)
#534B26
Tritanopia (blue-blind)
#8C0525
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f2229; /* rgb */ color: rgb(127, 34, 41); /* oklch */ color: oklch(40.3% 0.127 20.9);
Tailwind
colors: {
custom: {
50: '#aa6462',
500: '#7f2229',
950: '#000000',
},
}SCSS
$custom: #7f2229; $custom-light: #aa6462; $custom-dark: #000000;
JSON
{
"hex": "#7f2229",
"rgb": {
"r": 127,
"g": 34,
"b": 41
},
"hsl": {
"h": 355.484,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.40303,
"c": 0.12691,
"h": 20.9
},
"luminance": 0.05816
}Semantic roles & 50–950 ramp
primary
#7F2229
secondary
#4BB2AA
accent
#E1D547
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79