#7F175C#7F175C
#7F175C is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.154 H 345.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7F175C |
|---|---|
| RGB | rgb(127, 23, 92) |
| HSL | hsl(320, 69%, 29%) |
| HSV | hsv(320, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 27.6%, 50.2%) |
| CIE-LAB | lab(29.16, 48.96, -14.39) |
| CIE-LCH | lch(29.16, 51.03, 343.62°) |
| OKLab | oklab(40.97% 0.1488 -0.0382) |
| OKLCH | oklch(40.97% 0.154 345.6) |
| XYZ | xyz(10.9911, 5.8988, 10.6829) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.87
Rich Purple
#720058
ΔE00 3.97
Dark Magenta
#960056
ΔE00 5.75
Red Violet
#9E0168
ΔE00 5.75
Red Purple
#820747
ΔE00 5.82
Reddish Purple
#910951
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F175C #177F3A
analogous
#6E177F #7F175C #7F1728
triadic
#7F175C #5C7F17 #175C7F
tetradic
#7F175C #7F6E17 #177F3A #17287F
square
#7F175C #7F6E17 #177F3A #17287F
split-complementary
#7F175C #287F17 #177F6E
monochromatic
#1A0513 #4B0E36 #7F175C #B32082 #DB36A3
Accessibility & contrast
On white
9.63
#7F175C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7F175C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F175C
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F175C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F175C | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#263A5E
Deuteranopia (green-blind)
#464B5A
Tritanopia (blue-blind)
#881438
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f175c; /* rgb */ color: rgb(127, 23, 92); /* oklch */ color: oklch(41.0% 0.154 345.6);
Tailwind
colors: {
custom: {
50: '#a8618a',
500: '#7f175c',
950: '#000000',
},
}SCSS
$custom: #7f175c; $custom-light: #a8618a; $custom-dark: #000000;
JSON
{
"hex": "#7f175c",
"rgb": {
"r": 127,
"g": 23,
"b": 92
},
"hsl": {
"h": 320.192,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.40969,
"c": 0.15361,
"h": 345.6
},
"luminance": 0.05898
}Semantic roles & 50–950 ramp
primary
#7F175C
secondary
#3EB466
accent
#EC773C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C