#7F1766#7F1766
#7F1766 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.5% C 0.160 H 340.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1766 |
|---|---|
| RGB | rgb(127, 23, 102) |
| HSL | hsl(314, 69%, 29%) |
| HSV | hsv(314, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 19.7%, 50.2%) |
| CIE-LAB | lab(29.63, 50.33, -20.17) |
| CIE-LCH | lch(29.63, 54.22, 338.16°) |
| OKLab | oklab(41.46% 0.1504 -0.0545) |
| OKLCH | oklch(41.46% 0.16 340.1) |
| XYZ | xyz(11.4574, 6.0853, 13.1390) |
| Luminance | 0.0608 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.81
Velvet
#750851
ΔE00 4.47
Darkish Purple
#751973
ΔE00 4.57
Purple
#800080
ΔE00 6.22
Red Violet
#9E0168
ΔE00 6.32
Grape
#6C3461
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1766 #177F30
analogous
#64177F #7F1766 #7F1732
triadic
#7F1766 #667F17 #17667F
tetradic
#7F1766 #7F6417 #177F30 #17327F
square
#7F1766 #7F6417 #177F30 #17327F
split-complementary
#7F1766 #327F17 #177F64
monochromatic
#1A0515 #4B0E3C #7F1766 #B32090 #DB36B3
Accessibility & contrast
On white
9.47
#7F1766 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#7F1766 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1766
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1766 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1766 | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#203B68
Deuteranopia (green-blind)
#424C64
Tritanopia (blue-blind)
#871B3D
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f1766; /* rgb */ color: rgb(127, 23, 102); /* oklch */ color: oklch(41.5% 0.160 340.1);
Tailwind
colors: {
custom: {
50: '#a86292',
500: '#7f1766',
950: '#000000',
},
}SCSS
$custom: #7f1766; $custom-light: #a86292; $custom-dark: #000000;
JSON
{
"hex": "#7f1766",
"rgb": {
"r": 127,
"g": 23,
"b": 102
},
"hsl": {
"h": 314.423,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.41462,
"c": 0.15999,
"h": 340.1
},
"luminance": 0.06084
}Semantic roles & 50–950 ramp
primary
#7F1766
secondary
#3EB45A
accent
#EC663C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D