#7F215D#7F215D
#7F215D is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.143 H 345.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7F215D |
|---|---|
| RGB | rgb(127, 33, 93) |
| HSL | hsl(322, 59%, 31%) |
| HSV | hsv(322, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 26.8%, 50.2%) |
| CIE-LAB | lab(30.38, 45.75, -13.17) |
| CIE-LCH | lch(30.38, 47.61, 343.94°) |
| OKLab | oklab(41.87% 0.1386 -0.0349) |
| OKLCH | oklch(41.87% 0.143 345.9) |
| XYZ | xyz(11.2725, 6.3913, 10.9938) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.87
Rich Purple
#720058
ΔE00 5.14
Dark Magenta
#960056
ΔE00 5.75
Red Violet
#9E0168
ΔE00 5.78
Reddish Purple
#910951
ΔE00 5.82
Grape
#6C3461
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F215D #217F43
analogous
#72217F #7F215D #7F212E
triadic
#7F215D #5D7F21 #215D7F
tetradic
#7F215D #7F7221 #217F43 #212E7F
square
#7F215D #7F7221 #217F43 #212E7F
split-complementary
#7F215D #2E7F21 #217F72
monochromatic
#1E0816 #4E1439 #7F215D #B02E81 #D04AA0
Accessibility & contrast
On white
9.22
#7F215D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#7F215D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F215D
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F215D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F215D | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3D5F
Deuteranopia (green-blind)
#494D5B
Tritanopia (blue-blind)
#881F3C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7f215d; /* rgb */ color: rgb(127, 33, 93); /* oklch */ color: oklch(41.9% 0.143 345.9);
Tailwind
colors: {
custom: {
50: '#a8658b',
500: '#7f215d',
950: '#000000',
},
}SCSS
$custom: #7f215d; $custom-light: #a8658b; $custom-dark: #000000;
JSON
{
"hex": "#7f215d",
"rgb": {
"r": 127,
"g": 33,
"b": 93
},
"hsl": {
"h": 321.702,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.41872,
"c": 0.14294,
"h": 345.9
},
"luminance": 0.0639
}Semantic roles & 50–950 ramp
primary
#7F215D
secondary
#4AB270
accent
#E27E46
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D