#7E1221#7E1221
#7E1221 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.141 H 20.6°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1221 |
|---|---|
| RGB | rgb(126, 18, 33) |
| HSL | hsl(352, 75%, 28%) |
| HSV | hsv(352, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 73.8%, 50.6%) |
| CIE-LAB | lab(26.68, 44.76, 21.52) |
| CIE-LCH | lch(26.68, 49.66, 25.68°) |
| OKLab | oklab(38.54% 0.1316 0.0495) |
| OKLCH | oklch(38.54% 0.141 20.6) |
| XYZ | xyz(9.0961, 4.9795, 1.9207) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 1.71
Wine Red
#7B0323
ΔE00 2.85
Claret
#680018
ΔE00 4.97
Rosewood
#65000B
ΔE00 6.17
Bordeaux
#7B002C
ΔE00 6.20
Crimson (survey)
#8C000F
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1221 #127E6F
analogous
#7E1257 #7E1221 #7E3912
triadic
#7E1221 #217E12 #12217E
tetradic
#7E1221 #577E12 #127E6F #39127E
square
#7E1221 #577E12 #127E6F #39127E
split-complementary
#7E1221 #127E39 #12577E
monochromatic
#1B0407 #480A13 #7E1221 #B41A2F #E12A43
Accessibility & contrast
On white
10.52
#7E1221 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7E1221 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1221
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1221 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1221 | 1.00 | 10.52 | 2.00 | 10.52 |
| #FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353121
Deuteranopia (green-blind)
#4F471D
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7e1221; /* rgb */ color: rgb(126, 18, 33); /* oklch */ color: oklch(38.5% 0.141 20.6);
Tailwind
colors: {
custom: {
50: '#ab5d5c',
500: '#7e1221',
950: '#000000',
},
}SCSS
$custom: #7e1221; $custom-light: #ab5d5c; $custom-dark: #000000;
JSON
{
"hex": "#7e1221",
"rgb": {
"r": 126,
"g": 18,
"b": 33
},
"hsl": {
"h": 351.667,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.38536,
"c": 0.14059,
"h": 20.6
},
"luminance": 0.04978
}Semantic roles & 50–950 ramp
primary
#7E1221
secondary
#38B4A3
accent
#F2D836
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979