#7E2223#7E2223
#7E2223 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.126 H 24.4°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2223 |
|---|---|
| RGB | rgb(126, 34, 35) |
| HSL | hsl(359, 58%, 31%) |
| HSV | hsv(359, 73%, 49%) |
| CMYK | cmyk(0%, 73%, 72.2%, 50.6%) |
| CIE-LAB | lab(28.65, 39.43, 22.58) |
| CIE-LCH | lch(28.65, 45.44, 29.80°) |
| OKLab | oklab(40.01% 0.1151 0.0522) |
| OKLCH | oklch(40.01% 0.126 24.4) |
| XYZ | xyz(9.4806, 5.7024, 2.1913) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.61
Crimson (survey)
#8C000F
ΔE00 5.60
Wine Red
#7B0323
ΔE00 5.60
Blood
#770001
ΔE00 6.79
Reddy Brown
#6E1005
ΔE00 6.81
Rosewood
#65000B
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2223 #227E7D
analogous
#7E2251 #7E2223 #7E4F22
triadic
#7E2223 #237E22 #22237E
tetradic
#7E2223 #517E22 #227E7D #4F227E
square
#7E2223 #517E22 #227E7D #4F227E
split-complementary
#7E2223 #227E4F #22517E
monochromatic
#1E0808 #4E1516 #7E2223 #AE2F30 #CF4C4D
Accessibility & contrast
On white
9.81
#7E2223 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7E2223 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2223
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2223 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2223 | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3722
Deuteranopia (green-blind)
#534B20
Tritanopia (blue-blind)
#8B0323
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e2223; /* rgb */ color: rgb(126, 34, 35); /* oklch */ color: oklch(40.0% 0.126 24.4);
Tailwind
colors: {
custom: {
50: '#aa645e',
500: '#7e2223',
950: '#000000',
},
}SCSS
$custom: #7e2223; $custom-light: #aa645e; $custom-dark: #000000;
JSON
{
"hex": "#7e2223",
"rgb": {
"r": 126,
"g": 34,
"b": 35
},
"hsl": {
"h": 359.348,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.40012,
"c": 0.12639,
"h": 24.4
},
"luminance": 0.05701
}Semantic roles & 50–950 ramp
primary
#7E2223
secondary
#4BB1AF
accent
#E1DF47
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79