#7F1758#7F1758
#7F1758 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.151 H 347.9°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1758 |
|---|---|
| RGB | rgb(127, 23, 88) |
| HSL | hsl(323, 69%, 29%) |
| HSV | hsv(323, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 30.7%, 50.2%) |
| CIE-LAB | lab(28.98, 48.45, -12.03) |
| CIE-LCH | lch(28.98, 49.92, 346.05°) |
| OKLab | oklab(40.78% 0.1479 -0.0317) |
| OKLCH | oklch(40.78% 0.151 347.9) |
| XYZ | xyz(10.8208, 5.8307, 9.7862) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.71
Rich Purple
#720058
ΔE00 4.52
Red Purple
#820747
ΔE00 4.79
Reddish Purple
#910951
ΔE00 5.08
Dark Magenta
#960056
ΔE00 5.11
Red Violet
#9E0168
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1758 #177F3E
analogous
#72177F #7F1758 #7F1724
triadic
#7F1758 #587F17 #17587F
tetradic
#7F1758 #7F7217 #177F3E #17247F
square
#7F1758 #7F7217 #177F3E #17247F
split-complementary
#7F1758 #247F17 #177F72
monochromatic
#1A0512 #4B0E34 #7F1758 #B3207C #DB369D
Accessibility & contrast
On white
9.70
#7F1758 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7F1758 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1758
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1758 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1758 | 1.00 | 9.70 | 2.17 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28395A
Deuteranopia (green-blind)
#474B56
Tritanopia (blue-blind)
#891136
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1758; /* rgb */ color: rgb(127, 23, 88); /* oklch */ color: oklch(40.8% 0.151 347.9);
Tailwind
colors: {
custom: {
50: '#a86187',
500: '#7f1758',
950: '#000000',
},
}SCSS
$custom: #7f1758; $custom-light: #a86187; $custom-dark: #000000;
JSON
{
"hex": "#7f1758",
"rgb": {
"r": 127,
"g": 23,
"b": 88
},
"hsl": {
"h": 322.5,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.40785,
"c": 0.15127,
"h": 347.9
},
"luminance": 0.05829
}Semantic roles & 50–950 ramp
primary
#7F1758
secondary
#3EB46A
accent
#EC7E3C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C