#7E2138#7E2138
#7E2138 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.4% C 0.127 H 10.5°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2138 |
|---|---|
| RGB | rgb(126, 33, 56) |
| HSL | hsl(345, 58%, 31%) |
| HSV | hsv(345, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 55.6%, 50.6%) |
| CIE-LAB | lab(28.93, 41.30, 9.13) |
| CIE-LCH | lch(28.93, 42.30, 12.47°) |
| OKLab | oklab(40.36% 0.1252 0.0232) |
| OKLCH | oklch(40.36% 0.127 10.5) |
| XYZ | xyz(9.8627, 5.8102, 4.3427) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.84
Bordeaux
#7B002C
ΔE00 3.86
Wine
#722F37
ΔE00 4.48
Wine Red
#7B0323
ΔE00 5.59
Wine (survey)
#80013F
ΔE00 5.83
Cranberry
#9E003A
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2138 #217E67
analogous
#7E2166 #7E2138 #7E3821
triadic
#7E2138 #387E21 #21387E
tetradic
#7E2138 #667E21 #217E67 #38217E
square
#7E2138 #667E21 #217E67 #38217E
split-complementary
#7E2138 #217E38 #21667E
monochromatic
#1D080D #4E1422 #7E2138 #AE2E4E #D04A6B
Accessibility & contrast
On white
9.71
#7E2138 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7E2138 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2138
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2138 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2138 | 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)
#383838
Deuteranopia (green-blind)
#504B36
Tritanopia (blue-blind)
#8A0C2A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e2138; /* rgb */ color: rgb(126, 33, 56); /* oklch */ color: oklch(40.4% 0.127 10.5);
Tailwind
colors: {
custom: {
50: '#a9646e',
500: '#7e2138',
950: '#000000',
},
}SCSS
$custom: #7e2138; $custom-light: #a9646e; $custom-dark: #000000;
JSON
{
"hex": "#7e2138",
"rgb": {
"r": 126,
"g": 33,
"b": 56
},
"hsl": {
"h": 345.161,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.40358,
"c": 0.12732,
"h": 10.5
},
"luminance": 0.05809
}Semantic roles & 50–950 ramp
primary
#7E2138
secondary
#4AB197
accent
#E2BB46
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110607
muted
#807A7A