#7E196A#7E196A
#7E196A is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.160 H 337.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #7E196A |
|---|---|
| RGB | rgb(126, 25, 106) |
| HSL | hsl(312, 67%, 30%) |
| HSV | hsv(312, 80%, 49%) |
| CMYK | cmyk(0%, 80.2%, 15.9%, 50.6%) |
| CIE-LAB | lab(29.84, 50.08, -22.42) |
| CIE-LCH | lch(29.84, 54.87, 335.88°) |
| OKLab | oklab(41.65% 0.1481 -0.061) |
| OKLCH | oklch(41.65% 0.16 337.6) |
| XYZ | xyz(11.5536, 6.1726, 14.2158) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.60
Rich Purple
#720058
ΔE00 4.23
Purple
#800080
ΔE00 5.33
Velvet
#750851
ΔE00 5.33
Darkmagenta
#8B008B
ΔE00 6.48
Grape
#6C3461
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E196A #197E2D
analogous
#60197E #7E196A #7E1938
triadic
#7E196A #6A7E19 #196A7E
tetradic
#7E196A #7E6019 #197E2D #19387E
square
#7E196A #7E6019 #197E2D #19387E
split-complementary
#7E196A #387E19 #197E60
monochromatic
#1A0515 #4B0F3F #7E196A #B12395 #D83AB8
Accessibility & contrast
On white
9.40
#7E196A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#7E196A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E196A
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E196A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E196A | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D3C6C
Deuteranopia (green-blind)
#414C68
Tritanopia (blue-blind)
#851F40
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e196a; /* rgb */ color: rgb(126, 25, 106); /* oklch */ color: oklch(41.6% 0.160 337.6);
Tailwind
colors: {
custom: {
50: '#a76295',
500: '#7e196a',
950: '#000000',
},
}SCSS
$custom: #7e196a; $custom-light: #a76295; $custom-dark: #000000;
JSON
{
"hex": "#7e196a",
"rgb": {
"r": 126,
"g": 25,
"b": 106
},
"hsl": {
"h": 311.881,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.41649,
"c": 0.16016,
"h": 337.6
},
"luminance": 0.06171
}Semantic roles & 50–950 ramp
primary
#7E196A
secondary
#41B257
accent
#EA603E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E