#7E196D#7E196D
#7E196D is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.8% C 0.162 H 336.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7E196D |
|---|---|
| RGB | rgb(126, 25, 109) |
| HSL | hsl(310, 67%, 30%) |
| HSV | hsv(310, 80%, 49%) |
| CMYK | cmyk(0%, 80.2%, 13.5%, 50.6%) |
| CIE-LAB | lab(30.00, 50.53, -24.10) |
| CIE-LCH | lch(30.00, 55.99, 334.50°) |
| OKLab | oklab(41.81% 0.1484 -0.0658) |
| OKLCH | oklch(41.81% 0.162 336.1) |
| XYZ | xyz(11.7123, 6.2361, 15.0519) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 2.99
Rich Purple
#720058
ΔE00 4.63
Purple
#800080
ΔE00 4.66
Darkmagenta
#8B008B
ΔE00 5.84
Velvet
#750851
ΔE00 5.95
Grape
#6C3461
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E196D #197E2A
analogous
#5D197E #7E196D #7E193B
triadic
#7E196D #6D7E19 #196D7E
tetradic
#7E196D #7E5D19 #197E2A #193B7E
square
#7E196D #7E5D19 #197E2A #193B7E
split-complementary
#7E196D #3B7E19 #197E5D
monochromatic
#1A0516 #4B0F41 #7E196D #B12399 #D83ABD
Accessibility & contrast
On white
9.35
#7E196D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#7E196D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E196D
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E196D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E196D | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B3D6F
Deuteranopia (green-blind)
#3F4C6B
Tritanopia (blue-blind)
#852142
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7e196d; /* rgb */ color: rgb(126, 25, 109); /* oklch */ color: oklch(41.8% 0.162 336.1);
Tailwind
colors: {
custom: {
50: '#a76397',
500: '#7e196d',
950: '#000000',
},
}SCSS
$custom: #7e196d; $custom-light: #a76397; $custom-dark: #000000;
JSON
{
"hex": "#7e196d",
"rgb": {
"r": 126,
"g": 25,
"b": 109
},
"hsl": {
"h": 310.099,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.41813,
"c": 0.1623,
"h": 336.1
},
"luminance": 0.06235
}Semantic roles & 50–950 ramp
primary
#7E196D
secondary
#41B254
accent
#EA5B3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E