#7E2144#7E2144
#7E2144 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.130 H 2.0°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2144 |
|---|---|
| RGB | rgb(126, 33, 68) |
| HSL | hsl(337, 58%, 31%) |
| HSV | hsv(337, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 46%, 50.6%) |
| CIE-LAB | lab(29.27, 42.43, 1.61) |
| CIE-LCH | lch(29.27, 42.47, 2.17°) |
| OKLab | oklab(40.72% 0.13 0.0046) |
| OKLCH | oklch(40.72% 0.13 2) |
| XYZ | xyz(10.1922, 5.9420, 6.0779) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.33
Red Purple
#820747
ΔE00 3.65
Mulberry
#920A4E
ΔE00 4.55
Merlot
#730039
ΔE00 4.63
Reddish Purple
#910951
ΔE00 4.97
Berry
#990F4B
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2144 #217E5B
analogous
#7E2172 #7E2144 #7E2C21
triadic
#7E2144 #447E21 #21447E
tetradic
#7E2144 #727E21 #217E5B #2C217E
square
#7E2144 #727E21 #217E5B #2C217E
split-complementary
#7E2144 #217E2C #21727E
monochromatic
#1D0810 #4E142A #7E2144 #AE2E5E #D04A7C
Accessibility & contrast
On white
9.60
#7E2144 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7E2144 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2144
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2144 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2144 | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353945
Deuteranopia (green-blind)
#4E4C42
Tritanopia (blue-blind)
#891330
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e2144; /* rgb */ color: rgb(126, 33, 68); /* oklch */ color: oklch(40.7% 0.130 2.0);
Tailwind
colors: {
custom: {
50: '#a86477',
500: '#7e2144',
950: '#000000',
},
}SCSS
$custom: #7e2144; $custom-light: #a86477; $custom-dark: #000000;
JSON
{
"hex": "#7e2144",
"rgb": {
"r": 126,
"g": 33,
"b": 68
},
"hsl": {
"h": 337.419,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.40717,
"c": 0.13005,
"h": 2
},
"luminance": 0.05941
}Semantic roles & 50–950 ramp
primary
#7E2144
secondary
#4AB18A
accent
#E2A746
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B