#7E215D#7E215D
#7E215D is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.142 H 345.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7E215D |
|---|---|
| RGB | rgb(126, 33, 93) |
| HSL | hsl(321, 58%, 31%) |
| HSV | hsv(321, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 26.2%, 50.6%) |
| CIE-LAB | lab(30.19, 45.47, -13.47) |
| CIE-LCH | lch(30.19, 47.42, 343.50°) |
| OKLab | oklab(41.7% 0.1376 -0.0358) |
| OKLCH | oklch(41.7% 0.142 345.4) |
| XYZ | xyz(11.1243, 6.3148, 10.9868) |
| Luminance | 0.0631 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.77
Rich Purple
#720058
ΔE00 4.97
Grape
#6C3461
ΔE00 5.72
Dark Magenta
#960056
ΔE00 5.96
Red Violet
#9E0168
ΔE00 5.96
Reddish Purple
#910951
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E215D #217E42
analogous
#70217E #7E215D #7E212E
triadic
#7E215D #5D7E21 #215D7E
tetradic
#7E215D #7E7021 #217E42 #212E7E
square
#7E215D #7E7021 #217E42 #212E7E
split-complementary
#7E215D #2E7E21 #217E70
monochromatic
#1D0815 #4E1439 #7E215D #AE2E81 #D04AA0
Accessibility & contrast
On white
9.28
#7E215D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#7E215D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E215D
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E215D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E215D | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3D5F
Deuteranopia (green-blind)
#484D5B
Tritanopia (blue-blind)
#871F3C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7e215d; /* rgb */ color: rgb(126, 33, 93); /* oklch */ color: oklch(41.7% 0.142 345.4);
Tailwind
colors: {
custom: {
50: '#a7658b',
500: '#7e215d',
950: '#000000',
},
}SCSS
$custom: #7e215d; $custom-light: #a7658b; $custom-dark: #000000;
JSON
{
"hex": "#7e215d",
"rgb": {
"r": 126,
"g": 33,
"b": 93
},
"hsl": {
"h": 321.29,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.41702,
"c": 0.14218,
"h": 345.4
},
"luminance": 0.06314
}Semantic roles & 50–950 ramp
primary
#7E215D
secondary
#4AB16E
accent
#E27D46
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D