#7E2159#7E2159
#7E2159 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.140 H 347.9°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2159 |
|---|---|
| RGB | rgb(126, 33, 89) |
| HSL | hsl(324, 58%, 31%) |
| HSV | hsv(324, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 29.4%, 50.6%) |
| CIE-LAB | lab(30.02, 44.92, -11.12) |
| CIE-LCH | lch(30.02, 46.28, 346.10°) |
| OKLab | oklab(41.52% 0.1367 -0.0293) |
| OKLCH | oklch(41.52% 0.14 347.9) |
| XYZ | xyz(10.9517, 6.2458, 10.0781) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.73
Red Purple
#820747
ΔE00 5.11
Reddish Purple
#910951
ΔE00 5.25
Dark Magenta
#960056
ΔE00 5.38
Rich Purple
#720058
ΔE00 5.49
Red Violet
#9E0168
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2159 #217E46
analogous
#74217E #7E2159 #7E212A
triadic
#7E2159 #597E21 #21597E
tetradic
#7E2159 #7E7421 #217E46 #212A7E
square
#7E2159 #7E7421 #217E46 #212A7E
split-complementary
#7E2159 #2A7E21 #217E74
monochromatic
#1D0814 #4E1437 #7E2159 #AE2E7B #D04A9A
Accessibility & contrast
On white
9.34
#7E2159 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#7E2159 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2159
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2159 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2159 | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3C5B
Deuteranopia (green-blind)
#494D57
Tritanopia (blue-blind)
#871D3A
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7e2159; /* rgb */ color: rgb(126, 33, 89); /* oklch */ color: oklch(41.5% 0.140 347.9);
Tailwind
colors: {
custom: {
50: '#a76588',
500: '#7e2159',
950: '#000000',
},
}SCSS
$custom: #7e2159; $custom-light: #a76588; $custom-dark: #000000;
JSON
{
"hex": "#7e2159",
"rgb": {
"r": 126,
"g": 33,
"b": 89
},
"hsl": {
"h": 323.871,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.41523,
"c": 0.13975,
"h": 347.9
},
"luminance": 0.06245
}Semantic roles & 50–950 ramp
primary
#7E2159
secondary
#4AB173
accent
#E28446
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C