#7E1F22#7E1F22
#7E1F22 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.130 H 23.8°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1F22 |
|---|---|
| RGB | rgb(126, 31, 34) |
| HSL | hsl(358, 61%, 31%) |
| HSV | hsv(358, 75%, 49%) |
| CMYK | cmyk(0%, 75.4%, 73%, 50.6%) |
| CIE-LAB | lab(28.20, 40.57, 22.69) |
| CIE-LCH | lch(28.20, 46.48, 29.21°) |
| OKLab | oklab(39.67% 0.1185 0.0522) |
| OKLCH | oklch(39.67% 0.13 23.8) |
| XYZ | xyz(9.3839, 5.5325, 2.0868) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.07
Wine Red
#7B0323
ΔE00 5.12
Crimson (survey)
#8C000F
ΔE00 5.48
Claret
#680018
ΔE00 6.50
Rosewood
#65000B
ΔE00 6.60
Blood
#770001
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1F22 #1F7E7B
analogous
#7E1F51 #7E1F22 #7E4B1F
triadic
#7E1F22 #227E1F #1F227E
tetradic
#7E1F22 #517E1F #1F7E7B #4B1F7E
square
#7E1F22 #517E1F #1F7E7B #4B1F7E
split-complementary
#7E1F22 #1F7E4B #1F517E
monochromatic
#1C0707 #4D1315 #7E1F22 #AF2B2F #D1464A
Accessibility & contrast
On white
9.97
#7E1F22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7E1F22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1F22
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1F22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1F22 | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3621
Deuteranopia (green-blind)
#524A1F
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1f22; /* rgb */ color: rgb(126, 31, 34); /* oklch */ color: oklch(39.7% 0.130 23.8);
Tailwind
colors: {
custom: {
50: '#aa625d',
500: '#7e1f22',
950: '#000000',
},
}SCSS
$custom: #7e1f22; $custom-light: #aa625d; $custom-dark: #000000;
JSON
{
"hex": "#7e1f22",
"rgb": {
"r": 126,
"g": 31,
"b": 34
},
"hsl": {
"h": 358.105,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.39673,
"c": 0.1295,
"h": 23.8
},
"luminance": 0.05531
}Semantic roles & 50–950 ramp
primary
#7E1F22
secondary
#48B1AE
accent
#E4DF44
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79