#7F146A#7F146A
#7F146A is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.5% C 0.165 H 337.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7F146A |
|---|---|
| RGB | rgb(127, 20, 106) |
| HSL | hsl(312, 73%, 29%) |
| HSV | hsv(312, 84%, 50%) |
| CMYK | cmyk(0%, 84.3%, 16.5%, 50.2%) |
| CIE-LAB | lab(29.55, 51.72, -22.87) |
| CIE-LCH | lch(29.55, 56.55, 336.14°) |
| OKLab | oklab(41.47% 0.1533 -0.0622) |
| OKLCH | oklch(41.47% 0.165 337.9) |
| XYZ | xyz(11.6044, 6.0541, 14.1903) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.60
Rich Purple
#720058
ΔE00 4.04
Purple
#800080
ΔE00 5.11
Velvet
#750851
ΔE00 5.27
Darkmagenta
#8B008B
ΔE00 6.32
Red Violet
#9E0168
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F146A #147F29
analogous
#5F147F #7F146A #7F1435
triadic
#7F146A #6A7F14 #146A7F
tetradic
#7F146A #7F5F14 #147F29 #14357F
square
#7F146A #7F5F14 #147F29 #14357F
split-complementary
#7F146A #357F14 #147F5F
monochromatic
#1A0416 #4A0C3E #7F146A #B41C96 #DE2FBC
Accessibility & contrast
On white
9.50
#7F146A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7F146A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F146A
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F146A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F146A | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A3B6C
Deuteranopia (green-blind)
#404B68
Tritanopia (blue-blind)
#861B3F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f146a; /* rgb */ color: rgb(127, 20, 106); /* oklch */ color: oklch(41.5% 0.165 337.9);
Tailwind
colors: {
custom: {
50: '#a86195',
500: '#7f146a',
950: '#000000',
},
}SCSS
$custom: #7f146a; $custom-light: #a86195; $custom-dark: #000000;
JSON
{
"hex": "#7f146a",
"rgb": {
"r": 127,
"g": 20,
"b": 106
},
"hsl": {
"h": 311.776,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.41472,
"c": 0.16544,
"h": 337.9
},
"luminance": 0.06053
}Semantic roles & 50–950 ramp
primary
#7F146A
secondary
#3BB452
accent
#EF5C38
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E