#7E215E#7E215E
#7E215E is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.143 H 344.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7E215E |
|---|---|
| RGB | rgb(126, 33, 94) |
| HSL | hsl(321, 58%, 31%) |
| HSV | hsv(321, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 25.4%, 50.6%) |
| CIE-LAB | lab(30.24, 45.61, -14.05) |
| CIE-LCH | lch(30.24, 47.72, 342.88°) |
| OKLab | oklab(41.75% 0.1378 -0.0374) |
| OKLCH | oklch(41.75% 0.143 344.8) |
| XYZ | xyz(11.1689, 6.3327, 11.2216) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.83
Rich Purple
#720058
ΔE00 4.88
Grape
#6C3461
ΔE00 5.64
Red Violet
#9E0168
ΔE00 5.96
Dark Magenta
#960056
ΔE00 6.12
Reddish Purple
#910951
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E215E #217E41
analogous
#6F217E #7E215E #7E212F
triadic
#7E215E #5E7E21 #215E7E
tetradic
#7E215E #7E6F21 #217E41 #212F7E
square
#7E215E #7E6F21 #217E41 #212F7E
split-complementary
#7E215E #2F7E21 #217E6F
monochromatic
#1D0816 #4E143A #7E215E #AE2E82 #D04AA2
Accessibility & contrast
On white
9.27
#7E215E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#7E215E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E215E
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E215E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E215E | 1.00 | 9.27 | 2.27 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3D60
Deuteranopia (green-blind)
#484D5C
Tritanopia (blue-blind)
#87203C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7e215e; /* rgb */ color: rgb(126, 33, 94); /* oklch */ color: oklch(41.7% 0.143 344.8);
Tailwind
colors: {
custom: {
50: '#a7658b',
500: '#7e215e',
950: '#000000',
},
}SCSS
$custom: #7e215e; $custom-light: #a7658b; $custom-dark: #000000;
JSON
{
"hex": "#7e215e",
"rgb": {
"r": 126,
"g": 33,
"b": 94
},
"hsl": {
"h": 320.645,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.41748,
"c": 0.14281,
"h": 344.8
},
"luminance": 0.06331
}Semantic roles & 50–950 ramp
primary
#7E215E
secondary
#4AB16D
accent
#E27C46
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D