#7E2236#7E2236
#7E2236 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.4% C 0.126 H 12.2°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2236 |
|---|---|
| RGB | rgb(126, 34, 54) |
| HSL | hsl(347, 58%, 31%) |
| HSV | hsv(347, 73%, 49%) |
| CMYK | cmyk(0%, 73%, 57.1%, 50.6%) |
| CIE-LAB | lab(29.02, 40.73, 10.59) |
| CIE-LCH | lch(29.02, 42.09, 14.58°) |
| OKLab | oklab(40.41% 0.1231 0.0266) |
| OKLCH | oklch(40.41% 0.126 12.2) |
| XYZ | xyz(9.8430, 5.8474, 4.0997) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.95
Red Wine
#8C0034
ΔE00 3.96
Wine
#722F37
ΔE00 4.07
Wine Red
#7B0323
ΔE00 5.03
Burgundy
#800020
ΔE00 6.12
Cranberry
#9E003A
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2236 #227E6A
analogous
#7E2264 #7E2236 #7E3C22
triadic
#7E2236 #367E22 #22367E
tetradic
#7E2236 #647E22 #227E6A #3C227E
square
#7E2236 #647E22 #227E6A #3C227E
split-complementary
#7E2236 #227E3C #22647E
monochromatic
#1E080D #4E1521 #7E2236 #AE2F4B #CF4C68
Accessibility & contrast
On white
9.68
#7E2236 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7E2236 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2236
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2236 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2236 | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393836
Deuteranopia (green-blind)
#514B34
Tritanopia (blue-blind)
#8A0D2A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e2236; /* rgb */ color: rgb(126, 34, 54); /* oklch */ color: oklch(40.4% 0.126 12.2);
Tailwind
colors: {
custom: {
50: '#a9646c',
500: '#7e2236',
950: '#000000',
},
}SCSS
$custom: #7e2236; $custom-light: #a9646c; $custom-dark: #000000;
JSON
{
"hex": "#7e2236",
"rgb": {
"r": 126,
"g": 34,
"b": 54
},
"hsl": {
"h": 346.957,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.40413,
"c": 0.12592,
"h": 12.2
},
"luminance": 0.05846
}Semantic roles & 50–950 ramp
primary
#7E2236
secondary
#4BB19B
accent
#E1BF47
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110607
muted
#807A7A