#7E2235#7E2235
#7E2235 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.4% C 0.126 H 12.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2235 |
|---|---|
| RGB | rgb(126, 34, 53) |
| HSL | hsl(348, 58%, 31%) |
| HSV | hsv(348, 73%, 49%) |
| CMYK | cmyk(0%, 73%, 57.9%, 50.6%) |
| CIE-LAB | lab(29.00, 40.65, 11.23) |
| CIE-LCH | lch(29.00, 42.17, 15.44°) |
| OKLab | oklab(40.39% 0.1227 0.0281) |
| OKLCH | oklch(40.39% 0.126 12.9) |
| XYZ | xyz(9.8197, 5.8381, 3.9772) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.98
Wine
#722F37
ΔE00 4.00
Red Wine
#8C0034
ΔE00 4.02
Wine Red
#7B0323
ΔE00 4.78
Burgundy
#800020
ΔE00 5.82
Cranberry
#9E003A
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2235 #227E6B
analogous
#7E2263 #7E2235 #7E3D22
triadic
#7E2235 #357E22 #22357E
tetradic
#7E2235 #637E22 #227E6B #3D227E
square
#7E2235 #637E22 #227E6B #3D227E
split-complementary
#7E2235 #227E3D #22637E
monochromatic
#1E080C #4E1521 #7E2235 #AE2F49 #CF4C67
Accessibility & contrast
On white
9.69
#7E2235 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7E2235 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2235
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2235 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2235 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393835
Deuteranopia (green-blind)
#514B33
Tritanopia (blue-blind)
#8A0C2A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e2235; /* rgb */ color: rgb(126, 34, 53); /* oklch */ color: oklch(40.4% 0.126 12.9);
Tailwind
colors: {
custom: {
50: '#a9646c',
500: '#7e2235',
950: '#000000',
},
}SCSS
$custom: #7e2235; $custom-light: #a9646c; $custom-dark: #000000;
JSON
{
"hex": "#7e2235",
"rgb": {
"r": 126,
"g": 34,
"b": 53
},
"hsl": {
"h": 347.609,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.40387,
"c": 0.12583,
"h": 12.9
},
"luminance": 0.05837
}Semantic roles & 50–950 ramp
primary
#7E2235
secondary
#4BB19C
accent
#E1C147
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A