#7F1752#7F1752
#7F1752 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.148 H 351.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1752 |
|---|---|
| RGB | rgb(127, 23, 82) |
| HSL | hsl(326, 69%, 29%) |
| HSV | hsv(326, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 35.4%, 50.2%) |
| CIE-LAB | lab(28.73, 47.72, -8.45) |
| CIE-LCH | lch(28.73, 48.46, 349.96°) |
| OKLab | oklab(40.53% 0.1464 -0.0219) |
| OKLCH | oklch(40.53% 0.148 351.5) |
| XYZ | xyz(10.5824, 5.7353, 8.5308) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.21
Velvet
#750851
ΔE00 3.28
Reddish Purple
#910951
ΔE00 4.00
Dark Magenta
#960056
ΔE00 4.43
Mulberry
#920A4E
ΔE00 4.78
Wine (survey)
#80013F
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1752 #177F44
analogous
#78177F #7F1752 #7F171E
triadic
#7F1752 #527F17 #17527F
tetradic
#7F1752 #7F7817 #177F44 #171E7F
square
#7F1752 #7F7817 #177F44 #171E7F
split-complementary
#7F1752 #1E7F17 #177F78
monochromatic
#1A0511 #4B0E31 #7F1752 #B32073 #DB3693
Accessibility & contrast
On white
9.78
#7F1752 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7F1752 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1752
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1752 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1752 | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3853
Deuteranopia (green-blind)
#494A50
Tritanopia (blue-blind)
#890C33
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1752; /* rgb */ color: rgb(127, 23, 82); /* oklch */ color: oklch(40.5% 0.148 351.5);
Tailwind
colors: {
custom: {
50: '#a86182',
500: '#7f1752',
950: '#000000',
},
}SCSS
$custom: #7f1752; $custom-light: #a86182; $custom-dark: #000000;
JSON
{
"hex": "#7f1752",
"rgb": {
"r": 127,
"g": 23,
"b": 82
},
"hsl": {
"h": 325.962,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.40525,
"c": 0.14803,
"h": 351.5
},
"luminance": 0.05734
}Semantic roles & 50–950 ramp
primary
#7F1752
secondary
#3EB471
accent
#EC883C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C