#7E2233#7E2233
#7E2233 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.3% C 0.126 H 14.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2233 |
|---|---|
| RGB | rgb(126, 34, 51) |
| HSL | hsl(349, 58%, 31%) |
| HSV | hsv(349, 73%, 49%) |
| CMYK | cmyk(0%, 73%, 59.5%, 50.6%) |
| CIE-LAB | lab(28.95, 40.49, 12.49) |
| CIE-LCH | lch(28.95, 42.37, 17.15°) |
| OKLab | oklab(40.34% 0.1218 0.031) |
| OKLCH | oklch(40.34% 0.126 14.3) |
| XYZ | xyz(9.7747, 5.8201, 3.7400) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 3.96
Bordeaux
#7B002C
ΔE00 4.16
Red Wine
#8C0034
ΔE00 4.26
Wine Red
#7B0323
ΔE00 4.34
Burgundy
#800020
ΔE00 5.24
Cranberry
#9E003A
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2233 #227E6D
analogous
#7E2261 #7E2233 #7E3F22
triadic
#7E2233 #337E22 #22337E
tetradic
#7E2233 #617E22 #227E6D #3F227E
square
#7E2233 #617E22 #227E6D #3F227E
split-complementary
#7E2233 #227E3F #22617E
monochromatic
#1E080C #4E151F #7E2233 #AE2F47 #CF4C64
Accessibility & contrast
On white
9.71
#7E2233 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7E2233 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2233
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2233 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2233 | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3833
Deuteranopia (green-blind)
#514B31
Tritanopia (blue-blind)
#8A0B29
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e2233; /* rgb */ color: rgb(126, 34, 51); /* oklch */ color: oklch(40.3% 0.126 14.3);
Tailwind
colors: {
custom: {
50: '#a9646a',
500: '#7e2233',
950: '#000000',
},
}SCSS
$custom: #7e2233; $custom-light: #a9646a; $custom-dark: #000000;
JSON
{
"hex": "#7e2233",
"rgb": {
"r": 126,
"g": 34,
"b": 51
},
"hsl": {
"h": 348.913,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.40338,
"c": 0.12569,
"h": 14.3
},
"luminance": 0.05819
}Semantic roles & 50–950 ramp
primary
#7E2233
secondary
#4BB19E
accent
#E1C447
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A