#7F1068#7F1068
#7F1068 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.167 H 338.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1068 |
|---|---|
| RGB | rgb(127, 16, 104) |
| HSL | hsl(312, 78%, 28%) |
| HSV | hsv(312, 87%, 50%) |
| CMYK | cmyk(0%, 87.4%, 18.1%, 50.2%) |
| CIE-LAB | lab(29.12, 52.38, -22.25) |
| CIE-LCH | lch(29.12, 56.91, 336.98°) |
| OKLab | oklab(41.13% 0.156 -0.0604) |
| OKLCH | oklch(41.13% 0.167 338.8) |
| XYZ | xyz(11.4367, 5.8833, 13.6273) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.64
Darkish Purple
#751973
ΔE00 3.93
Velvet
#750851
ΔE00 4.85
Purple
#800080
ΔE00 5.38
Darkmagenta
#8B008B
ΔE00 6.64
Red Violet
#9E0168
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1068 #107F27
analogous
#5E107F #7F1068 #7F1031
triadic
#7F1068 #687F10 #10687F
tetradic
#7F1068 #7F5E10 #107F27 #10317F
square
#7F1068 #7F5E10 #107F27 #10317F
split-complementary
#7F1068 #317F10 #107F5E
monochromatic
#1B0316 #49093B #7F1068 #B51795 #E426BC
Accessibility & contrast
On white
9.65
#7F1068 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7F1068 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1068
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1068 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1068 | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#183A6A
Deuteranopia (green-blind)
#404B66
Tritanopia (blue-blind)
#87173D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f1068; /* rgb */ color: rgb(127, 16, 104); /* oklch */ color: oklch(41.1% 0.167 338.8);
Tailwind
colors: {
custom: {
50: '#a86093',
500: '#7f1068',
950: '#000000',
},
}SCSS
$custom: #7f1068; $custom-light: #a86093; $custom-dark: #000000;
JSON
{
"hex": "#7f1068",
"rgb": {
"r": 127,
"g": 16,
"b": 104
},
"hsl": {
"h": 312.432,
"s": 77.622,
"l": 28.039
},
"oklch": {
"l": 0.41129,
"c": 0.1673,
"h": 338.8
},
"luminance": 0.05882
}Semantic roles & 50–950 ramp
primary
#7F1068
secondary
#36B550
accent
#F45C34
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E