#7E2227#7E2227
#7E2227 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.126 H 22.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2227 |
|---|---|
| RGB | rgb(126, 34, 39) |
| HSL | hsl(357, 58%, 31%) |
| HSV | hsv(357, 73%, 49%) |
| CMYK | cmyk(0%, 73%, 69%, 50.6%) |
| CIE-LAB | lab(28.71, 39.66, 20.08) |
| CIE-LCH | lch(28.71, 44.45, 26.86°) |
| OKLab | oklab(40.08% 0.1167 0.0473) |
| OKLCH | oklch(40.08% 0.126 22) |
| XYZ | xyz(9.5434, 5.7276, 2.5221) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.91
Wine Red
#7B0323
ΔE00 4.57
Wine
#722F37
ΔE00 6.06
Claret
#680018
ΔE00 6.47
Crimson (survey)
#8C000F
ΔE00 6.75
Bordeaux
#7B002C
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2227 #227E79
analogous
#7E2255 #7E2227 #7E4B22
triadic
#7E2227 #277E22 #22277E
tetradic
#7E2227 #557E22 #227E79 #4B227E
square
#7E2227 #557E22 #227E79 #4B227E
split-complementary
#7E2227 #227E4B #22557E
monochromatic
#1E0809 #4E1518 #7E2227 #AE2F36 #CF4C53
Accessibility & contrast
On white
9.79
#7E2227 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7E2227 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2227
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2227 | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3726
Deuteranopia (green-blind)
#534B24
Tritanopia (blue-blind)
#8B0525
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e2227; /* rgb */ color: rgb(126, 34, 39); /* oklch */ color: oklch(40.1% 0.126 22.0);
Tailwind
colors: {
custom: {
50: '#aa6461',
500: '#7e2227',
950: '#000000',
},
}SCSS
$custom: #7e2227; $custom-light: #aa6461; $custom-dark: #000000;
JSON
{
"hex": "#7e2227",
"rgb": {
"r": 126,
"g": 34,
"b": 39
},
"hsl": {
"h": 356.739,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.40082,
"c": 0.12595,
"h": 22
},
"luminance": 0.05726
}Semantic roles & 50–950 ramp
primary
#7E2227
secondary
#4BB1AB
accent
#E1D847
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79