#7E216A#7E216A
#7E216A is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.151 H 337.9°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7E216A |
|---|---|
| RGB | rgb(126, 33, 106) |
| HSL | hsl(313, 58%, 31%) |
| HSV | hsv(313, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 15.9%, 50.6%) |
| CIE-LAB | lab(30.80, 47.37, -20.93) |
| CIE-LCH | lch(30.80, 51.79, 336.16°) |
| OKLab | oklab(42.34% 0.14 -0.0568) |
| OKLCH | oklch(42.34% 0.151 337.9) |
| XYZ | xyz(11.7498, 6.5650, 14.2812) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.21
Rich Purple
#720058
ΔE00 4.91
Velvet
#750851
ΔE00 5.56
Grape
#6C3461
ΔE00 5.73
Purple
#800080
ΔE00 6.10
Bruise
#7E4071
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E216A #217E35
analogous
#63217E #7E216A #7E213B
triadic
#7E216A #6A7E21 #216A7E
tetradic
#7E216A #7E6321 #217E35 #213B7E
square
#7E216A #7E6321 #217E35 #213B7E
split-complementary
#7E216A #3B7E21 #217E63
monochromatic
#1D0818 #4E1441 #7E216A #AE2E93 #D04AB3
Accessibility & contrast
On white
9.08
#7E216A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#7E216A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E216A
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E216A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E216A | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#253F6C
Deuteranopia (green-blind)
#434E68
Tritanopia (blue-blind)
#852643
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7e216a; /* rgb */ color: rgb(126, 33, 106); /* oklch */ color: oklch(42.3% 0.151 337.9);
Tailwind
colors: {
custom: {
50: '#a76695',
500: '#7e216a',
950: '#000000',
},
}SCSS
$custom: #7e216a; $custom-light: #a76695; $custom-dark: #000000;
JSON
{
"hex": "#7e216a",
"rgb": {
"r": 126,
"g": 33,
"b": 106
},
"hsl": {
"h": 312.903,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.42336,
"c": 0.15106,
"h": 337.9
},
"luminance": 0.06564
}Semantic roles & 50–950 ramp
primary
#7E216A
secondary
#4AB160
accent
#E26846
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E