#7E252D#7E252D
#7E252D is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.5% C 0.122 H 19.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7E252D |
|---|---|
| RGB | rgb(126, 37, 45) |
| HSL | hsl(355, 55%, 32%) |
| HSV | hsv(355, 71%, 49%) |
| CMYK | cmyk(0%, 70.6%, 64.3%, 50.6%) |
| CIE-LAB | lab(29.29, 38.79, 16.89) |
| CIE-LCH | lch(29.29, 42.31, 23.53°) |
| OKLab | oklab(40.54% 0.1153 0.0408) |
| OKLCH | oklch(40.54% 0.122 19.5) |
| XYZ | xyz(9.7404, 5.9496, 3.1176) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.35
Wine Red
#7B0323
ΔE00 4.39
Wine
#722F37
ΔE00 4.60
Bordeaux
#7B002C
ΔE00 6.20
Red Wine
#8C0034
ΔE00 6.37
Claret
#680018
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E252D #257E76
analogous
#7E255A #7E252D #7E4A25
triadic
#7E252D #2D7E25 #252D7E
tetradic
#7E252D #5A7E25 #257E76 #4A257E
square
#7E252D #5A7E25 #257E76 #4A257E
split-complementary
#7E252D #257E4A #255A7E
monochromatic
#1F090B #4F171C #7E252D #AD333E #CC515C
Accessibility & contrast
On white
9.59
#7E252D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7E252D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E252D
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E252D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E252D | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C392D
Deuteranopia (green-blind)
#534C2B
Tritanopia (blue-blind)
#8A0F29
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e252d; /* rgb */ color: rgb(126, 37, 45); /* oklch */ color: oklch(40.5% 0.122 19.5);
Tailwind
colors: {
custom: {
50: '#a96665',
500: '#7e252d',
950: '#000000',
},
}SCSS
$custom: #7e252d; $custom-light: #a96665; $custom-dark: #000000;
JSON
{
"hex": "#7e252d",
"rgb": {
"r": 126,
"g": 37,
"b": 45
},
"hsl": {
"h": 354.607,
"s": 54.601,
"l": 31.961
},
"oklch": {
"l": 0.40543,
"c": 0.12225,
"h": 19.5
},
"luminance": 0.05948
}Semantic roles & 50–950 ramp
primary
#7E252D
secondary
#4FB0A7
accent
#DED14A
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A