#7F215C#7F215C
#7F215C is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.142 H 346.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7F215C |
|---|---|
| RGB | rgb(127, 33, 92) |
| HSL | hsl(322, 59%, 31%) |
| HSV | hsv(322, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 27.6%, 50.2%) |
| CIE-LAB | lab(30.34, 45.61, -12.58) |
| CIE-LCH | lch(30.34, 47.32, 344.58°) |
| OKLab | oklab(41.83% 0.1384 -0.0333) |
| OKLCH | oklch(41.83% 0.142 346.5) |
| XYZ | xyz(11.2285, 6.3737, 10.7620) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.84
Rich Purple
#720058
ΔE00 5.25
Dark Magenta
#960056
ΔE00 5.59
Reddish Purple
#910951
ΔE00 5.62
Red Purple
#820747
ΔE00 5.70
Red Violet
#9E0168
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F215C #217F44
analogous
#73217F #7F215C #7F212D
triadic
#7F215C #5C7F21 #215C7F
tetradic
#7F215C #7F7321 #217F44 #212D7F
square
#7F215C #7F7321 #217F44 #212D7F
split-complementary
#7F215C #2D7F21 #217F73
monochromatic
#1E0816 #4E1439 #7F215C #B02E7F #D04A9E
Accessibility & contrast
On white
9.23
#7F215C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#7F215C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F215C
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F215C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F215C | 1.00 | 9.23 | 2.27 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3D5E
Deuteranopia (green-blind)
#494D5A
Tritanopia (blue-blind)
#881E3B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7f215c; /* rgb */ color: rgb(127, 33, 92); /* oklch */ color: oklch(41.8% 0.142 346.5);
Tailwind
colors: {
custom: {
50: '#a8658a',
500: '#7f215c',
950: '#000000',
},
}SCSS
$custom: #7f215c; $custom-light: #a8658a; $custom-dark: #000000;
JSON
{
"hex": "#7f215c",
"rgb": {
"r": 127,
"g": 33,
"b": 92
},
"hsl": {
"h": 322.34,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.41827,
"c": 0.14233,
"h": 346.5
},
"luminance": 0.06372
}Semantic roles & 50–950 ramp
primary
#7F215C
secondary
#4AB271
accent
#E28046
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C