#7F216F#7F216F
#7F216F is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.8% C 0.155 H 335.7°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7F216F |
|---|---|
| RGB | rgb(127, 33, 111) |
| HSL | hsl(310, 59%, 31%) |
| HSV | hsv(310, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 12.6%, 50.2%) |
| CIE-LAB | lab(31.23, 48.42, -23.44) |
| CIE-LCH | lch(31.23, 53.79, 334.16°) |
| OKLab | oklab(42.77% 0.1417 -0.0639) |
| OKLCH | oklch(42.77% 0.155 335.7) |
| XYZ | xyz(12.1657, 6.7485, 15.6977) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.45
Purple
#800080
ΔE00 5.16
Rich Purple
#720058
ΔE00 5.51
Darkmagenta
#8B008B
ΔE00 6.00
Grape
#6C3461
ΔE00 6.24
Velvet
#750851
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F216F #217F31
analogous
#60217F #7F216F #7F2140
triadic
#7F216F #6F7F21 #216F7F
tetradic
#7F216F #7F6021 #217F31 #21407F
square
#7F216F #7F6021 #217F31 #21407F
split-complementary
#7F216F #407F21 #217F60
monochromatic
#1E081A #4E1445 #7F216F #B02E99 #D04AB9
Accessibility & contrast
On white
8.94
#7F216F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#7F216F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F216F
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F216F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F216F | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224071
Deuteranopia (green-blind)
#424F6D
Tritanopia (blue-blind)
#862845
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7f216f; /* rgb */ color: rgb(127, 33, 111); /* oklch */ color: oklch(42.8% 0.155 335.7);
Tailwind
colors: {
custom: {
50: '#a76698',
500: '#7f216f',
950: '#000000',
},
}SCSS
$custom: #7f216f; $custom-light: #a76698; $custom-dark: #000000;
JSON
{
"hex": "#7f216f",
"rgb": {
"r": 127,
"g": 33,
"b": 111
},
"hsl": {
"h": 310.213,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.42765,
"c": 0.15542,
"h": 335.7
},
"luminance": 0.06747
}Semantic roles & 50–950 ramp
primary
#7F216F
secondary
#4AB25C
accent
#E26046
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E