#7E296D#7E296D
#7E296D is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.143 H 336.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7E296D |
|---|---|
| RGB | rgb(126, 41, 109) |
| HSL | hsl(312, 51%, 33%) |
| HSV | hsv(312, 67%, 49%) |
| CMYK | cmyk(0%, 67.5%, 13.5%, 50.6%) |
| CIE-LAB | lab(32.09, 44.63, -20.83) |
| CIE-LCH | lch(32.09, 49.25, 334.98°) |
| OKLab | oklab(43.33% 0.1308 -0.0566) |
| OKLCH | oklch(43.33% 0.143 336.6) |
| XYZ | xyz(12.1576, 7.1267, 15.2003) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.67
Grape
#6C3461
ΔE00 5.03
Bruise
#7E4071
ΔE00 5.36
Rich Purple
#720058
ΔE00 6.16
Purple
#800080
ΔE00 6.60
Velvet
#750851
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E296D #297E3A
analogous
#64297E #7E296D #7E2942
triadic
#7E296D #6D7E29 #296D7E
tetradic
#7E296D #7E6429 #297E3A #29427E
square
#7E296D #7E6429 #297E3A #29427E
split-complementary
#7E296D #427E29 #297E64
monochromatic
#220B1D #501A45 #7E296D #AC3895 #C959B2
Accessibility & contrast
On white
8.66
#7E296D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#7E296D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E296D
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E296D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E296D | 1.00 | 8.66 | 2.43 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B436F
Deuteranopia (green-blind)
#46506B
Tritanopia (blue-blind)
#852E47
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7e296d; /* rgb */ color: rgb(126, 41, 109); /* oklch */ color: oklch(43.3% 0.143 336.6);
Tailwind
colors: {
custom: {
50: '#a66a97',
500: '#7e296d',
950: '#000000',
},
}SCSS
$custom: #7e296d; $custom-light: #a66a97; $custom-dark: #000000;
JSON
{
"hex": "#7e296d",
"rgb": {
"r": 126,
"g": 41,
"b": 109
},
"hsl": {
"h": 312,
"s": 50.898,
"l": 32.745
},
"oklch": {
"l": 0.43327,
"c": 0.14252,
"h": 336.6
},
"luminance": 0.07126
}Semantic roles & 50–950 ramp
primary
#7E296D
secondary
#55AE67
accent
#DA6A4D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E