#7F175B#7F175B
#7F175B is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.153 H 346.2°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7F175B |
|---|---|
| RGB | rgb(127, 23, 91) |
| HSL | hsl(321, 69%, 29%) |
| HSV | hsv(321, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 28.3%, 50.2%) |
| CIE-LAB | lab(29.11, 48.83, -13.80) |
| CIE-LCH | lch(29.11, 50.74, 344.22°) |
| OKLab | oklab(40.92% 0.1486 -0.0366) |
| OKLCH | oklch(40.92% 0.153 346.2) |
| XYZ | xyz(10.9476, 5.8814, 10.4542) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.79
Rich Purple
#720058
ΔE00 4.09
Red Purple
#820747
ΔE00 5.56
Dark Magenta
#960056
ΔE00 5.58
Reddish Purple
#910951
ΔE00 5.70
Red Violet
#9E0168
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F175B #177F3B
analogous
#6F177F #7F175B #7F1727
triadic
#7F175B #5B7F17 #175B7F
tetradic
#7F175B #7F6F17 #177F3B #17277F
square
#7F175B #7F6F17 #177F3B #17277F
split-complementary
#7F175B #277F17 #177F6F
monochromatic
#1A0513 #4B0E36 #7F175B #B32080 #DB36A2
Accessibility & contrast
On white
9.65
#7F175B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7F175B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F175B
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F175B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F175B | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27395D
Deuteranopia (green-blind)
#464B59
Tritanopia (blue-blind)
#881437
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f175b; /* rgb */ color: rgb(127, 23, 91); /* oklch */ color: oklch(40.9% 0.153 346.2);
Tailwind
colors: {
custom: {
50: '#a86189',
500: '#7f175b',
950: '#000000',
},
}SCSS
$custom: #7f175b; $custom-light: #a86189; $custom-dark: #000000;
JSON
{
"hex": "#7f175b",
"rgb": {
"r": 127,
"g": 23,
"b": 91
},
"hsl": {
"h": 320.769,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.40922,
"c": 0.153,
"h": 346.2
},
"luminance": 0.0588
}Semantic roles & 50–950 ramp
primary
#7F175B
secondary
#3EB467
accent
#EC793C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C