#7F215F#7F215F
#7F215F is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.144 H 344.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7F215F |
|---|---|
| RGB | rgb(127, 33, 95) |
| HSL | hsl(320, 59%, 31%) |
| HSV | hsv(320, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 25.2%, 50.2%) |
| CIE-LAB | lab(30.47, 46.03, -14.33) |
| CIE-LCH | lch(30.47, 48.21, 342.70°) |
| OKLab | oklab(41.96% 0.1391 -0.0382) |
| OKLCH | oklch(41.96% 0.144 344.7) |
| XYZ | xyz(11.3623, 6.4272, 11.4664) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.99
Rich Purple
#720058
ΔE00 4.96
Grape
#6C3461
ΔE00 5.72
Red Violet
#9E0168
ΔE00 5.78
Dark Magenta
#960056
ΔE00 6.08
Reddish Purple
#910951
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F215F #217F41
analogous
#70217F #7F215F #7F2130
triadic
#7F215F #5F7F21 #215F7F
tetradic
#7F215F #7F7021 #217F41 #21307F
square
#7F215F #7F7021 #217F41 #21307F
split-complementary
#7F215F #307F21 #217F70
monochromatic
#1E0816 #4E143B #7F215F #B02E83 #D04AA3
Accessibility & contrast
On white
9.19
#7F215F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#7F215F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F215F
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F215F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F215F | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3E61
Deuteranopia (green-blind)
#484D5D
Tritanopia (blue-blind)
#88203D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7f215f; /* rgb */ color: rgb(127, 33, 95); /* oklch */ color: oklch(42.0% 0.144 344.7);
Tailwind
colors: {
custom: {
50: '#a8658c',
500: '#7f215f',
950: '#000000',
},
}SCSS
$custom: #7f215f; $custom-light: #a8658c; $custom-dark: #000000;
JSON
{
"hex": "#7f215f",
"rgb": {
"r": 127,
"g": 33,
"b": 95
},
"hsl": {
"h": 320.426,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.41964,
"c": 0.1442,
"h": 344.7
},
"luminance": 0.06426
}Semantic roles & 50–950 ramp
primary
#7F215F
secondary
#4AB26D
accent
#E27B46
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D