#7F214F#7F214F
#7F214F is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.135 H 354.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7F214F |
|---|---|
| RGB | rgb(127, 33, 79) |
| HSL | hsl(331, 59%, 31%) |
| HSV | hsv(331, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 37.8%, 50.2%) |
| CIE-LAB | lab(29.83, 43.96, -4.83) |
| CIE-LCH | lch(29.83, 44.23, 353.73°) |
| OKLab | oklab(41.29% 0.1348 -0.0122) |
| OKLCH | oklch(41.29% 0.135 354.8) |
| XYZ | xyz(10.7082, 6.1655, 8.0218) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.02
Reddish Purple
#910951
ΔE00 3.79
Mulberry
#920A4E
ΔE00 4.16
Wine (survey)
#80013F
ΔE00 4.52
Dark Magenta
#960056
ΔE00 4.66
Velvet
#750851
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F214F #217F51
analogous
#7F217E #7F214F #7F2221
triadic
#7F214F #4F7F21 #214F7F
tetradic
#7F214F #7E7F21 #217F51 #22217F
square
#7F214F #7E7F21 #217F51 #22217F
split-complementary
#7F214F #217F22 #217E7F
monochromatic
#1E0813 #4E1431 #7F214F #B02E6D #D04A8C
Accessibility & contrast
On white
9.41
#7F214F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#7F214F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F214F
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F214F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F214F | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323B50
Deuteranopia (green-blind)
#4C4D4D
Tritanopia (blue-blind)
#891835
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f214f; /* rgb */ color: rgb(127, 33, 79); /* oklch */ color: oklch(41.3% 0.135 354.8);
Tailwind
colors: {
custom: {
50: '#a86580',
500: '#7f214f',
950: '#000000',
},
}SCSS
$custom: #7f214f; $custom-light: #a86580; $custom-dark: #000000;
JSON
{
"hex": "#7f214f",
"rgb": {
"r": 127,
"g": 33,
"b": 79
},
"hsl": {
"h": 330.638,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.41287,
"c": 0.1353,
"h": 354.8
},
"luminance": 0.06164
}Semantic roles & 50–950 ramp
primary
#7F214F
secondary
#4AB27F
accent
#E29646
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C