#7E252A#7E252A
#7E252A is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.5% C 0.122 H 21.4°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7E252A |
|---|---|
| RGB | rgb(126, 37, 42) |
| HSL | hsl(357, 55%, 32%) |
| HSV | hsv(357, 71%, 49%) |
| CMYK | cmyk(0%, 70.6%, 66.7%, 50.6%) |
| CIE-LAB | lab(29.23, 38.59, 18.78) |
| CIE-LCH | lch(29.23, 42.91, 25.95°) |
| OKLab | oklab(40.48% 0.114 0.0447) |
| OKLCH | oklch(40.48% 0.122 21.4) |
| XYZ | xyz(9.6847, 5.9273, 2.8242) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.34
Wine Red
#7B0323
ΔE00 4.76
Wine
#722F37
ΔE00 5.38
Claret
#680018
ΔE00 6.82
Bordeaux
#7B002C
ΔE00 7.09
Red Wine
#8C0034
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E252A #257E79
analogous
#7E2557 #7E252A #7E4D25
triadic
#7E252A #2A7E25 #252A7E
tetradic
#7E252A #577E25 #257E79 #4D257E
square
#7E252A #577E25 #257E79 #4D257E
split-complementary
#7E252A #257E4D #25577E
monochromatic
#1F090A #4F171A #7E252A #AD333A #CC5158
Accessibility & contrast
On white
9.61
#7E252A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7E252A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E252A
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E252A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E252A | 1.00 | 9.61 | 2.19 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3929
Deuteranopia (green-blind)
#534C28
Tritanopia (blue-blind)
#8B0E28
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e252a; /* rgb */ color: rgb(126, 37, 42); /* oklch */ color: oklch(40.5% 0.122 21.4);
Tailwind
colors: {
custom: {
50: '#a96663',
500: '#7e252a',
950: '#000000',
},
}SCSS
$custom: #7e252a; $custom-light: #a96663; $custom-dark: #000000;
JSON
{
"hex": "#7e252a",
"rgb": {
"r": 126,
"g": 37,
"b": 42
},
"hsl": {
"h": 356.629,
"s": 54.601,
"l": 31.961
},
"oklch": {
"l": 0.40483,
"c": 0.12245,
"h": 21.4
},
"luminance": 0.05926
}Semantic roles & 50–950 ramp
primary
#7E252A
secondary
#4FB0AB
accent
#DED64A
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79