#7E2837#7E2837
#7E2837 is a dark, moderate red. Relative luminance 0.062; OKLCH L 41.1% C 0.119 H 13.8°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2837 |
|---|---|
| RGB | rgb(126, 40, 55) |
| HSL | hsl(350, 52%, 33%) |
| HSV | hsv(350, 68%, 49%) |
| CMYK | cmyk(0%, 68.3%, 56.3%, 50.6%) |
| CIE-LAB | lab(29.99, 38.25, 11.25) |
| CIE-LCH | lch(29.99, 39.87, 16.39°) |
| OKLab | oklab(41.14% 0.1153 0.0282) |
| OKLCH | oklch(41.14% 0.119 13.8) |
| XYZ | xyz(10.0535, 6.2304, 4.2869) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 3.20
Red Wine
#8C0034
ΔE00 4.98
Bordeaux
#7B002C
ΔE00 5.15
Wine Red
#7B0323
ΔE00 5.55
Burgundy
#800020
ΔE00 6.37
Cranberry
#9E003A
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2837 #287E6F
analogous
#7E2862 #7E2837 #7E4428
triadic
#7E2837 #377E28 #28377E
tetradic
#7E2837 #627E28 #287E6F #44287E
square
#7E2837 #627E28 #287E6F #44287E
split-complementary
#7E2837 #287E44 #28627E
monochromatic
#210B0E #501923 #7E2837 #AC374B #CA576B
Accessibility & contrast
On white
9.35
#7E2837 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#7E2837 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2837
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2837 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2837 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3B37
Deuteranopia (green-blind)
#534D35
Tritanopia (blue-blind)
#8A182E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7e2837; /* rgb */ color: rgb(126, 40, 55); /* oklch */ color: oklch(41.1% 0.119 13.8);
Tailwind
colors: {
custom: {
50: '#a8676d',
500: '#7e2837',
950: '#000000',
},
}SCSS
$custom: #7e2837; $custom-light: #a8676d; $custom-dark: #000000;
JSON
{
"hex": "#7e2837",
"rgb": {
"r": 126,
"g": 40,
"b": 55
},
"hsl": {
"h": 349.535,
"s": 51.807,
"l": 32.549
},
"oklch": {
"l": 0.41137,
"c": 0.11869,
"h": 13.8
},
"luminance": 0.06229
}Semantic roles & 50–950 ramp
primary
#7E2837
secondary
#53AF9F
accent
#DBC24D
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100607
muted
#7F7A7A