#7E2149#7E2149
#7E2149 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.132 H 358.5°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2149 |
|---|---|
| RGB | rgb(126, 33, 73) |
| HSL | hsl(334, 58%, 31%) |
| HSV | hsv(334, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 42.1%, 50.6%) |
| CIE-LAB | lab(29.43, 42.97, -1.48) |
| CIE-LCH | lch(29.43, 43.00, 358.03°) |
| OKLab | oklab(40.89% 0.1318 -0.0033) |
| OKLCH | oklch(40.89% 0.132 358.5) |
| XYZ | xyz(10.3514, 6.0057, 6.9161) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.88
Wine (survey)
#80013F
ΔE00 3.55
Mulberry
#920A4E
ΔE00 4.09
Reddish Purple
#910951
ΔE00 4.16
Merlot
#730039
ΔE00 4.74
Dark Magenta
#960056
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2149 #217E56
analogous
#7E2177 #7E2149 #7E2721
triadic
#7E2149 #497E21 #21497E
tetradic
#7E2149 #777E21 #217E56 #27217E
square
#7E2149 #777E21 #217E56 #27217E
split-complementary
#7E2149 #217E27 #21777E
monochromatic
#1D0811 #4E142D #7E2149 #AE2E65 #D04A83
Accessibility & contrast
On white
9.54
#7E2149 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7E2149 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2149
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2149 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2149 | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343A4A
Deuteranopia (green-blind)
#4D4C47
Tritanopia (blue-blind)
#891532
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e2149; /* rgb */ color: rgb(126, 33, 73); /* oklch */ color: oklch(40.9% 0.132 358.5);
Tailwind
colors: {
custom: {
50: '#a8647b',
500: '#7e2149',
950: '#000000',
},
}SCSS
$custom: #7e2149; $custom-light: #a8647b; $custom-dark: #000000;
JSON
{
"hex": "#7e2149",
"rgb": {
"r": 126,
"g": 33,
"b": 73
},
"hsl": {
"h": 334.194,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.40889,
"c": 0.13183,
"h": 358.5
},
"luminance": 0.06004
}Semantic roles & 50–950 ramp
primary
#7E2149
secondary
#4AB185
accent
#E29F46
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B