#7E2153#7E2153
#7E2153 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.3% C 0.136 H 351.8°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2153 |
|---|---|
| RGB | rgb(126, 33, 83) |
| HSL | hsl(328, 58%, 31%) |
| HSV | hsv(328, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 34.1%, 50.6%) |
| CIE-LAB | lab(29.79, 44.15, -7.55) |
| CIE-LCH | lch(29.79, 44.79, 350.30°) |
| OKLab | oklab(41.27% 0.135 -0.0195) |
| OKLCH | oklch(41.27% 0.136 351.8) |
| XYZ | xyz(10.7100, 6.1491, 8.8048) |
| Luminance | 0.0615 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.77
Reddish Purple
#910951
ΔE00 4.30
Velvet
#750851
ΔE00 4.31
Dark Magenta
#960056
ΔE00 4.85
Mulberry
#920A4E
ΔE00 4.94
Wine (survey)
#80013F
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2153 #217E4C
analogous
#7A217E #7E2153 #7E2124
triadic
#7E2153 #537E21 #21537E
tetradic
#7E2153 #7E7A21 #217E4C #21247E
square
#7E2153 #7E7A21 #217E4C #21247E
split-complementary
#7E2153 #247E21 #217E7A
monochromatic
#1D0813 #4E1433 #7E2153 #AE2E73 #D04A92
Accessibility & contrast
On white
9.42
#7E2153 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#7E2153 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2153
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2153 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2153 | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303B54
Deuteranopia (green-blind)
#4B4C51
Tritanopia (blue-blind)
#881A37
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e2153; /* rgb */ color: rgb(126, 33, 83); /* oklch */ color: oklch(41.3% 0.136 351.8);
Tailwind
colors: {
custom: {
50: '#a76583',
500: '#7e2153',
950: '#000000',
},
}SCSS
$custom: #7e2153; $custom-light: #a76583; $custom-dark: #000000;
JSON
{
"hex": "#7e2153",
"rgb": {
"r": 126,
"g": 33,
"b": 83
},
"hsl": {
"h": 327.742,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.4127,
"c": 0.13641,
"h": 351.8
},
"luminance": 0.06148
}Semantic roles & 50–950 ramp
primary
#7E2153
secondary
#4AB17A
accent
#E28E46
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C