#7E146A#7E146A
#7E146A is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.3% C 0.165 H 337.5°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7E146A |
|---|---|
| RGB | rgb(126, 20, 106) |
| HSL | hsl(311, 73%, 29%) |
| HSV | hsv(311, 84%, 49%) |
| CMYK | cmyk(0%, 84.1%, 15.9%, 50.6%) |
| CIE-LAB | lab(29.36, 51.48, -23.18) |
| CIE-LCH | lch(29.36, 56.46, 335.76°) |
| OKLab | oklab(41.3% 0.1523 -0.0631) |
| OKLCH | oklch(41.3% 0.165 337.5) |
| XYZ | xyz(11.4561, 5.9777, 14.1833) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.41
Rich Purple
#720058
ΔE00 3.97
Purple
#800080
ΔE00 5.00
Velvet
#750851
ΔE00 5.30
Darkmagenta
#8B008B
ΔE00 6.28
Grape Purple
#5D1451
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E146A #147E28
analogous
#5D147E #7E146A #7E1435
triadic
#7E146A #6A7E14 #146A7E
tetradic
#7E146A #7E5D14 #147E28 #14357E
square
#7E146A #7E5D14 #147E28 #14357E
split-complementary
#7E146A #357E14 #147E5D
monochromatic
#1A0416 #490C3E #7E146A #B31C96 #DE2EBD
Accessibility & contrast
On white
9.57
#7E146A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7E146A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E146A
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E146A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E146A | 1.00 | 9.57 | 2.20 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#193B6C
Deuteranopia (green-blind)
#3F4B68
Tritanopia (blue-blind)
#851C3F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e146a; /* rgb */ color: rgb(126, 20, 106); /* oklch */ color: oklch(41.3% 0.165 337.5);
Tailwind
colors: {
custom: {
50: '#a76195',
500: '#7e146a',
950: '#000000',
},
}SCSS
$custom: #7e146a; $custom-light: #a76195; $custom-dark: #000000;
JSON
{
"hex": "#7e146a",
"rgb": {
"r": 126,
"g": 20,
"b": 106
},
"hsl": {
"h": 311.321,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.41299,
"c": 0.16488,
"h": 337.5
},
"luminance": 0.05977
}Semantic roles & 50–950 ramp
primary
#7E146A
secondary
#3AB351
accent
#EF5B38
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E