#7F165C#7F165C
#7F165C is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.155 H 345.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7F165C |
|---|---|
| RGB | rgb(127, 22, 92) |
| HSL | hsl(320, 70%, 29%) |
| HSV | hsv(320, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 27.6%, 50.2%) |
| CIE-LAB | lab(29.06, 49.25, -14.54) |
| CIE-LCH | lch(29.06, 51.35, 343.55°) |
| OKLab | oklab(40.9% 0.1497 -0.0387) |
| OKLCH | oklch(40.9% 0.155 345.5) |
| XYZ | xyz(10.9716, 5.8598, 10.6764) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.81
Rich Purple
#720058
ΔE00 3.87
Red Violet
#9E0168
ΔE00 5.76
Dark Magenta
#960056
ΔE00 5.78
Red Purple
#820747
ΔE00 5.85
Reddish Purple
#910951
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F165C #167F39
analogous
#6E167F #7F165C #7F1628
triadic
#7F165C #5C7F16 #165C7F
tetradic
#7F165C #7F6E16 #167F39 #16287F
square
#7F165C #7F6E16 #167F39 #16287F
split-complementary
#7F165C #287F16 #167F6E
monochromatic
#1A0513 #4B0D36 #7F165C #B31F82 #DC34A4
Accessibility & contrast
On white
9.67
#7F165C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7F165C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F165C
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F165C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F165C | 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)
#25395E
Deuteranopia (green-blind)
#464B5A
Tritanopia (blue-blind)
#881338
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f165c; /* rgb */ color: rgb(127, 22, 92); /* oklch */ color: oklch(40.9% 0.155 345.5);
Tailwind
colors: {
custom: {
50: '#a8618a',
500: '#7f165c',
950: '#000000',
},
}SCSS
$custom: #7f165c; $custom-light: #a8618a; $custom-dark: #000000;
JSON
{
"hex": "#7f165c",
"rgb": {
"r": 127,
"g": 22,
"b": 92
},
"hsl": {
"h": 320,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.40896,
"c": 0.15457,
"h": 345.5
},
"luminance": 0.05859
}Semantic roles & 50–950 ramp
primary
#7F165C
secondary
#3DB465
accent
#ED763B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C