#7F2227#7F2227
#7F2227 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.3% C 0.127 H 22.1°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2227 |
|---|---|
| RGB | rgb(127, 34, 39) |
| HSL | hsl(357, 58%, 32%) |
| HSV | hsv(357, 73%, 50%) |
| CMYK | cmyk(0%, 73.2%, 69.3%, 50.2%) |
| CIE-LAB | lab(28.91, 40.00, 20.37) |
| CIE-LCH | lch(28.91, 44.89, 26.99°) |
| OKLab | oklab(40.27% 0.1177 0.0479) |
| OKLCH | oklch(40.27% 0.127 22.1) |
| XYZ | xyz(9.6917, 5.8040, 2.5290) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.93
Wine Red
#7B0323
ΔE00 4.66
Wine
#722F37
ΔE00 6.21
Crimson (survey)
#8C000F
ΔE00 6.61
Claret
#680018
ΔE00 6.63
Bordeaux
#7B002C
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2227 #227F7A
analogous
#7F2256 #7F2227 #7F4C22
triadic
#7F2227 #277F22 #22277F
tetradic
#7F2227 #567F22 #227F7A #4C227F
square
#7F2227 #567F22 #227F7A #4C227F
split-complementary
#7F2227 #227F4C #22567F
monochromatic
#1E0809 #4F1518 #7F2227 #AF2F36 #CF4C53
Accessibility & contrast
On white
9.72
#7F2227 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7F2227 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2227
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2227 | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3826
Deuteranopia (green-blind)
#534B24
Tritanopia (blue-blind)
#8C0425
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f2227; /* rgb */ color: rgb(127, 34, 39); /* oklch */ color: oklch(40.3% 0.127 22.1);
Tailwind
colors: {
custom: {
50: '#ab6461',
500: '#7f2227',
950: '#000000',
},
}SCSS
$custom: #7f2227; $custom-light: #ab6461; $custom-dark: #000000;
JSON
{
"hex": "#7f2227",
"rgb": {
"r": 127,
"g": 34,
"b": 39
},
"hsl": {
"h": 356.774,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.40266,
"c": 0.12707,
"h": 22.1
},
"luminance": 0.05803
}Semantic roles & 50–950 ramp
primary
#7F2227
secondary
#4BB2AC
accent
#E1D947
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79