#7E2139#7E2139
#7E2139 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.127 H 9.8°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2139 |
|---|---|
| RGB | rgb(126, 33, 57) |
| HSL | hsl(345, 58%, 31%) |
| HSV | hsv(345, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 54.8%, 50.6%) |
| CIE-LAB | lab(28.95, 41.39, 8.50) |
| CIE-LCH | lch(28.95, 42.25, 11.60°) |
| OKLab | oklab(40.39% 0.1256 0.0217) |
| OKLCH | oklch(40.39% 0.127 9.8) |
| XYZ | xyz(9.8874, 5.8201, 4.4728) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 3.90
Bordeaux
#7B002C
ΔE00 3.96
Wine
#722F37
ΔE00 4.64
Wine (survey)
#80013F
ΔE00 5.52
Wine Red
#7B0323
ΔE00 5.88
Purple Red
#990147
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2139 #217E66
analogous
#7E2167 #7E2139 #7E3721
triadic
#7E2139 #397E21 #21397E
tetradic
#7E2139 #677E21 #217E66 #37217E
square
#7E2139 #677E21 #217E66 #37217E
split-complementary
#7E2139 #217E37 #21677E
monochromatic
#1D080D #4E1423 #7E2139 #AE2E4F #D04A6C
Accessibility & contrast
On white
9.71
#7E2139 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7E2139 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2139
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2139 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2139 | 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)
#383839
Deuteranopia (green-blind)
#504B37
Tritanopia (blue-blind)
#8A0C2B
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e2139; /* rgb */ color: rgb(126, 33, 57); /* oklch */ color: oklch(40.4% 0.127 9.8);
Tailwind
colors: {
custom: {
50: '#a9646f',
500: '#7e2139',
950: '#000000',
},
}SCSS
$custom: #7e2139; $custom-light: #a9646f; $custom-dark: #000000;
JSON
{
"hex": "#7e2139",
"rgb": {
"r": 126,
"g": 33,
"b": 57
},
"hsl": {
"h": 344.516,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.40385,
"c": 0.12747,
"h": 9.8
},
"luminance": 0.05819
}Semantic roles & 50–950 ramp
primary
#7E2139
secondary
#4AB196
accent
#E2BA46
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110607
muted
#807A7A