#7F165B#7F165B
#7F165B is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.154 H 346.1°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7F165B |
|---|---|
| RGB | rgb(127, 22, 91) |
| HSL | hsl(321, 70%, 29%) |
| HSV | hsv(321, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 28.3%, 50.2%) |
| CIE-LAB | lab(29.01, 49.12, -13.96) |
| CIE-LCH | lch(29.01, 51.06, 344.14°) |
| OKLab | oklab(40.85% 0.1495 -0.037) |
| OKLCH | oklch(40.85% 0.154 346.1) |
| XYZ | xyz(10.9282, 5.8424, 10.4477) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.73
Rich Purple
#720058
ΔE00 3.99
Red Purple
#820747
ΔE00 5.59
Dark Magenta
#960056
ΔE00 5.61
Reddish Purple
#910951
ΔE00 5.74
Red Violet
#9E0168
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F165B #167F3A
analogous
#6F167F #7F165B #7F1627
triadic
#7F165B #5B7F16 #165B7F
tetradic
#7F165B #7F6F16 #167F3A #16277F
square
#7F165B #7F6F16 #167F3A #16277F
split-complementary
#7F165B #277F16 #167F6F
monochromatic
#1A0513 #4B0D36 #7F165B #B31F80 #DC34A2
Accessibility & contrast
On white
9.69
#7F165B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7F165B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F165B
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F165B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F165B | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26395D
Deuteranopia (green-blind)
#464B59
Tritanopia (blue-blind)
#881237
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f165b; /* rgb */ color: rgb(127, 22, 91); /* oklch */ color: oklch(40.8% 0.154 346.1);
Tailwind
colors: {
custom: {
50: '#a86189',
500: '#7f165b',
950: '#000000',
},
}SCSS
$custom: #7f165b; $custom-light: #a86189; $custom-dark: #000000;
JSON
{
"hex": "#7f165b",
"rgb": {
"r": 127,
"g": 22,
"b": 91
},
"hsl": {
"h": 320.571,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.4085,
"c": 0.15398,
"h": 346.1
},
"luminance": 0.05841
}Semantic roles & 50–950 ramp
primary
#7F165B
secondary
#3DB466
accent
#ED783B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C