#7F1066#7F1066
#7F1066 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 41.0% C 0.166 H 339.8°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1066 |
|---|---|
| RGB | rgb(127, 16, 102) |
| HSL | hsl(314, 78%, 28%) |
| HSV | hsv(314, 87%, 50%) |
| CMYK | cmyk(0%, 87.4%, 19.7%, 50.2%) |
| CIE-LAB | lab(29.01, 52.10, -21.12) |
| CIE-LCH | lch(29.01, 56.22, 337.93°) |
| OKLab | oklab(41.02% 0.1558 -0.0572) |
| OKLCH | oklch(41.02% 0.166 339.8) |
| XYZ | xyz(11.3363, 5.8431, 13.0986) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.42
Darkish Purple
#751973
ΔE00 4.35
Velvet
#750851
ΔE00 4.43
Purple
#800080
ΔE00 5.84
Red Violet
#9E0168
ΔE00 6.54
Grape Purple
#5D1451
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1066 #107F29
analogous
#61107F #7F1066 #7F102E
triadic
#7F1066 #667F10 #10667F
tetradic
#7F1066 #7F6110 #107F29 #102E7F
square
#7F1066 #7F6110 #107F29 #102E7F
split-complementary
#7F1066 #2E7F10 #107F61
monochromatic
#1B0316 #49093A #7F1066 #B51792 #E426B9
Accessibility & contrast
On white
9.68
#7F1066 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7F1066 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1066
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1066 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1066 | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A3968
Deuteranopia (green-blind)
#414A64
Tritanopia (blue-blind)
#87163C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1066; /* rgb */ color: rgb(127, 16, 102); /* oklch */ color: oklch(41.0% 0.166 339.8);
Tailwind
colors: {
custom: {
50: '#a86092',
500: '#7f1066',
950: '#000000',
},
}SCSS
$custom: #7f1066; $custom-light: #a86092; $custom-dark: #000000;
JSON
{
"hex": "#7f1066",
"rgb": {
"r": 127,
"g": 16,
"b": 102
},
"hsl": {
"h": 313.514,
"s": 77.622,
"l": 28.039
},
"oklch": {
"l": 0.41022,
"c": 0.16597,
"h": 339.8
},
"luminance": 0.05842
}Semantic roles & 50–950 ramp
primary
#7F1066
secondary
#36B552
accent
#F45F34
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050D
muted
#7F7A7D