#7E2230#7E2230
#7E2230 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.3% C 0.126 H 16.3°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2230 |
|---|---|
| RGB | rgb(126, 34, 48) |
| HSL | hsl(351, 58%, 31%) |
| HSV | hsv(351, 73%, 49%) |
| CMYK | cmyk(0%, 73%, 61.9%, 50.6%) |
| CIE-LAB | lab(28.89, 40.26, 14.40) |
| CIE-LCH | lch(28.89, 42.76, 19.67°) |
| OKLab | oklab(40.27% 0.1205 0.0352) |
| OKLCH | oklch(40.27% 0.126 16.3) |
| XYZ | xyz(9.7107, 5.7944, 3.4028) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.88
Wine
#722F37
ΔE00 4.16
Burgundy
#800020
ΔE00 4.48
Bordeaux
#7B002C
ΔE00 4.67
Red Wine
#8C0034
ΔE00 4.85
Cranberry
#9E003A
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2230 #227E70
analogous
#7E225E #7E2230 #7E4222
triadic
#7E2230 #307E22 #22307E
tetradic
#7E2230 #5E7E22 #227E70 #42227E
square
#7E2230 #5E7E22 #227E70 #42227E
split-complementary
#7E2230 #227E42 #225E7E
monochromatic
#1E080B #4E151E #7E2230 #AE2F42 #CF4C60
Accessibility & contrast
On white
9.73
#7E2230 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7E2230 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2230
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2230 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2230 | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3830
Deuteranopia (green-blind)
#524B2E
Tritanopia (blue-blind)
#8A0A28
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e2230; /* rgb */ color: rgb(126, 34, 48); /* oklch */ color: oklch(40.3% 0.126 16.3);
Tailwind
colors: {
custom: {
50: '#a96468',
500: '#7e2230',
950: '#000000',
},
}SCSS
$custom: #7e2230; $custom-light: #a96468; $custom-dark: #000000;
JSON
{
"hex": "#7e2230",
"rgb": {
"r": 126,
"g": 34,
"b": 48
},
"hsl": {
"h": 350.87,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.40267,
"c": 0.12559,
"h": 16.3
},
"luminance": 0.05793
}Semantic roles & 50–950 ramp
primary
#7E2230
secondary
#4BB1A1
accent
#E1C947
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A