#7F1765#7F1765
#7F1765 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.159 H 340.6°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1765 |
|---|---|
| RGB | rgb(127, 23, 101) |
| HSL | hsl(315, 69%, 29%) |
| HSV | hsv(315, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 20.5%, 50.2%) |
| CIE-LAB | lab(29.58, 50.18, -19.59) |
| CIE-LCH | lch(29.58, 53.87, 338.67°) |
| OKLab | oklab(41.41% 0.1503 -0.0529) |
| OKLCH | oklch(41.41% 0.159 340.6) |
| XYZ | xyz(11.4081, 6.0656, 12.8794) |
| Luminance | 0.0606 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.74
Velvet
#750851
ΔE00 4.27
Darkish Purple
#751973
ΔE00 4.79
Red Violet
#9E0168
ΔE00 6.23
Purple
#800080
ΔE00 6.46
Grape
#6C3461
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1765 #177F31
analogous
#65177F #7F1765 #7F1731
triadic
#7F1765 #657F17 #17657F
tetradic
#7F1765 #7F6517 #177F31 #17317F
square
#7F1765 #7F6517 #177F31 #17317F
split-complementary
#7F1765 #317F17 #177F65
monochromatic
#1A0515 #4B0E3C #7F1765 #B3208E #DB36B1
Accessibility & contrast
On white
9.49
#7F1765 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7F1765 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1765
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1765 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1765 | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#203B67
Deuteranopia (green-blind)
#434C63
Tritanopia (blue-blind)
#871A3D
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f1765; /* rgb */ color: rgb(127, 23, 101); /* oklch */ color: oklch(41.4% 0.159 340.6);
Tailwind
colors: {
custom: {
50: '#a86291',
500: '#7f1765',
950: '#000000',
},
}SCSS
$custom: #7f1765; $custom-light: #a86291; $custom-dark: #000000;
JSON
{
"hex": "#7f1765",
"rgb": {
"r": 127,
"g": 23,
"b": 101
},
"hsl": {
"h": 315,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.41411,
"c": 0.15932,
"h": 340.6
},
"luminance": 0.06064
}Semantic roles & 50–950 ramp
primary
#7F1765
secondary
#3EB45C
accent
#EC683C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D