#7F175D#7F175D
#7F175D is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.154 H 345.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7F175D |
|---|---|
| RGB | rgb(127, 23, 93) |
| HSL | hsl(320, 69%, 29%) |
| HSV | hsv(320, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 26.8%, 50.2%) |
| CIE-LAB | lab(29.20, 49.09, -14.97) |
| CIE-LCH | lch(29.20, 51.32, 343.04°) |
| OKLab | oklab(41.02% 0.149 -0.0399) |
| OKLCH | oklch(41.02% 0.154 345) |
| XYZ | xyz(11.0351, 5.9164, 10.9146) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.97
Rich Purple
#720058
ΔE00 3.87
Red Violet
#9E0168
ΔE00 5.76
Dark Magenta
#960056
ΔE00 5.92
Red Purple
#820747
ΔE00 6.07
Reddish Purple
#910951
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F175D #177F39
analogous
#6D177F #7F175D #7F1729
triadic
#7F175D #5D7F17 #175D7F
tetradic
#7F175D #7F6D17 #177F39 #17297F
square
#7F175D #7F6D17 #177F39 #17297F
split-complementary
#7F175D #297F17 #177F6D
monochromatic
#1A0513 #4B0E37 #7F175D #B32083 #DB36A5
Accessibility & contrast
On white
9.62
#7F175D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7F175D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F175D
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F175D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F175D | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#253A5F
Deuteranopia (green-blind)
#464B5B
Tritanopia (blue-blind)
#881538
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f175d; /* rgb */ color: rgb(127, 23, 93); /* oklch */ color: oklch(41.0% 0.154 345.0);
Tailwind
colors: {
custom: {
50: '#a8618b',
500: '#7f175d',
950: '#000000',
},
}SCSS
$custom: #7f175d; $custom-light: #a8618b; $custom-dark: #000000;
JSON
{
"hex": "#7f175d",
"rgb": {
"r": 127,
"g": 23,
"b": 93
},
"hsl": {
"h": 319.615,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.41016,
"c": 0.15422,
"h": 345
},
"luminance": 0.05915
}Semantic roles & 50–950 ramp
primary
#7F175D
secondary
#3EB465
accent
#EC753C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D