#7F165D#7F165D
#7F165D is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.155 H 344.9°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7F165D |
|---|---|
| RGB | rgb(127, 22, 93) |
| HSL | hsl(319, 70%, 29%) |
| HSV | hsv(319, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 26.8%, 50.2%) |
| CIE-LAB | lab(29.10, 49.38, -15.13) |
| CIE-LCH | lch(29.10, 51.64, 342.97°) |
| OKLab | oklab(40.94% 0.1499 -0.0403) |
| OKLCH | oklch(40.94% 0.155 344.9) |
| XYZ | xyz(11.0156, 5.8774, 10.9081) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.92
Rich Purple
#720058
ΔE00 3.78
Red Violet
#9E0168
ΔE00 5.78
Dark Magenta
#960056
ΔE00 5.95
Red Purple
#820747
ΔE00 6.10
Reddish Purple
#910951
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F165D #167F38
analogous
#6D167F #7F165D #7F1628
triadic
#7F165D #5D7F16 #165D7F
tetradic
#7F165D #7F6D16 #167F38 #16287F
square
#7F165D #7F6D16 #167F38 #16287F
split-complementary
#7F165D #287F16 #167F6D
monochromatic
#1A0513 #4B0D37 #7F165D #B31F83 #DC34A5
Accessibility & contrast
On white
9.65
#7F165D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7F165D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F165D
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F165D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F165D | 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)
#25395F
Deuteranopia (green-blind)
#454B5B
Tritanopia (blue-blind)
#881438
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f165d; /* rgb */ color: rgb(127, 22, 93); /* oklch */ color: oklch(40.9% 0.155 344.9);
Tailwind
colors: {
custom: {
50: '#a8618b',
500: '#7f165d',
950: '#000000',
},
}SCSS
$custom: #7f165d; $custom-light: #a8618b; $custom-dark: #000000;
JSON
{
"hex": "#7f165d",
"rgb": {
"r": 127,
"g": 22,
"b": 93
},
"hsl": {
"h": 319.429,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.40944,
"c": 0.15517,
"h": 344.9
},
"luminance": 0.05876
}Semantic roles & 50–950 ramp
primary
#7F165D
secondary
#3DB463
accent
#ED743B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D