#7F175A#7F175A
#7F175A is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.152 H 346.7°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7F175A |
|---|---|
| RGB | rgb(127, 23, 90) |
| HSL | hsl(321, 69%, 29%) |
| HSV | hsv(321, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 29.1%, 50.2%) |
| CIE-LAB | lab(29.07, 48.70, -13.21) |
| CIE-LCH | lch(29.07, 50.46, 344.82°) |
| OKLab | oklab(40.88% 0.1484 -0.035) |
| OKLCH | oklch(40.88% 0.152 346.7) |
| XYZ | xyz(10.9048, 5.8643, 10.2285) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.74
Rich Purple
#720058
ΔE00 4.22
Red Purple
#820747
ΔE00 5.31
Dark Magenta
#960056
ΔE00 5.41
Reddish Purple
#910951
ΔE00 5.49
Red Violet
#9E0168
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F175A #177F3C
analogous
#70177F #7F175A #7F1726
triadic
#7F175A #5A7F17 #175A7F
tetradic
#7F175A #7F7017 #177F3C #17267F
square
#7F175A #7F7017 #177F3C #17267F
split-complementary
#7F175A #267F17 #177F70
monochromatic
#1A0512 #4B0E35 #7F175A #B3207F #DB36A0
Accessibility & contrast
On white
9.67
#7F175A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7F175A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F175A
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F175A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F175A | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27395C
Deuteranopia (green-blind)
#464B58
Tritanopia (blue-blind)
#881337
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f175a; /* rgb */ color: rgb(127, 23, 90); /* oklch */ color: oklch(40.9% 0.152 346.7);
Tailwind
colors: {
custom: {
50: '#a86188',
500: '#7f175a',
950: '#000000',
},
}SCSS
$custom: #7f175a; $custom-light: #a86188; $custom-dark: #000000;
JSON
{
"hex": "#7f175a",
"rgb": {
"r": 127,
"g": 23,
"b": 90
},
"hsl": {
"h": 321.346,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.40876,
"c": 0.15242,
"h": 346.7
},
"luminance": 0.05863
}Semantic roles & 50–950 ramp
primary
#7F175A
secondary
#3EB468
accent
#EC7A3C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C