#7E214E#7E214E
#7E214E is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.134 H 355.1°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #7E214E |
|---|---|
| RGB | rgb(126, 33, 78) |
| HSL | hsl(331, 58%, 31%) |
| HSV | hsv(331, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 38.1%, 50.6%) |
| CIE-LAB | lab(29.60, 43.54, -4.53) |
| CIE-LCH | lch(29.60, 43.78, 354.06°) |
| OKLab | oklab(41.07% 0.1335 -0.0114) |
| OKLCH | oklch(41.07% 0.134 355.1) |
| XYZ | xyz(10.5239, 6.0746, 7.8246) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.98
Reddish Purple
#910951
ΔE00 3.94
Mulberry
#920A4E
ΔE00 4.27
Wine (survey)
#80013F
ΔE00 4.40
Dark Magenta
#960056
ΔE00 4.85
Velvet
#750851
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E214E #217E51
analogous
#7E217C #7E214E #7E2221
triadic
#7E214E #4E7E21 #214E7E
tetradic
#7E214E #7C7E21 #217E51 #22217E
square
#7E214E #7C7E21 #217E51 #22217E
split-complementary
#7E214E #217E22 #217C7E
monochromatic
#1D0812 #4E1430 #7E214E #AE2E6C #D04A8B
Accessibility & contrast
On white
9.48
#7E214E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7E214E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E214E
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E214E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E214E | 1.00 | 9.48 | 2.21 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323B4F
Deuteranopia (green-blind)
#4C4C4C
Tritanopia (blue-blind)
#881834
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e214e; /* rgb */ color: rgb(126, 33, 78); /* oklch */ color: oklch(41.1% 0.134 355.1);
Tailwind
colors: {
custom: {
50: '#a7657f',
500: '#7e214e',
950: '#000000',
},
}SCSS
$custom: #7e214e; $custom-light: #a7657f; $custom-dark: #000000;
JSON
{
"hex": "#7e214e",
"rgb": {
"r": 126,
"g": 33,
"b": 78
},
"hsl": {
"h": 330.968,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.41073,
"c": 0.13396,
"h": 355.1
},
"luminance": 0.06073
}Semantic roles & 50–950 ramp
primary
#7E214E
secondary
#4AB17F
accent
#E29646
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C