#7E296A#7E296A
#7E296A is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.2% C 0.140 H 338.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7E296A |
|---|---|
| RGB | rgb(126, 41, 106) |
| HSL | hsl(314, 51%, 33%) |
| HSV | hsv(314, 67%, 49%) |
| CMYK | cmyk(0%, 67.5%, 15.9%, 50.6%) |
| CIE-LAB | lab(31.95, 44.14, -19.14) |
| CIE-LCH | lch(31.95, 48.11, 336.56°) |
| OKLab | oklab(43.18% 0.1303 -0.0518) |
| OKLCH | oklch(43.18% 0.14 338.3) |
| XYZ | xyz(11.9989, 7.0632, 14.3643) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 4.77
Darkish Purple
#751973
ΔE00 5.24
Bruise
#7E4071
ΔE00 5.27
Rich Purple
#720058
ΔE00 5.97
Velvet
#750851
ΔE00 6.14
Red Violet
#9E0168
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E296A #297E3D
analogous
#68297E #7E296A #7E293F
triadic
#7E296A #6A7E29 #296A7E
tetradic
#7E296A #7E6829 #297E3D #293F7E
square
#7E296A #7E6829 #297E3D #293F7E
split-complementary
#7E296A #3F7E29 #297E68
monochromatic
#220B1C #501A43 #7E296A #AC3891 #C959AE
Accessibility & contrast
On white
8.71
#7E296A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#7E296A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E296A
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E296A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E296A | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C436C
Deuteranopia (green-blind)
#475068
Tritanopia (blue-blind)
#852C45
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7e296a; /* rgb */ color: rgb(126, 41, 106); /* oklch */ color: oklch(43.2% 0.140 338.3);
Tailwind
colors: {
custom: {
50: '#a66994',
500: '#7e296a',
950: '#000000',
},
}SCSS
$custom: #7e296a; $custom-light: #a66994; $custom-dark: #000000;
JSON
{
"hex": "#7e296a",
"rgb": {
"r": 126,
"g": 41,
"b": 106
},
"hsl": {
"h": 314.118,
"s": 50.898,
"l": 32.745
},
"oklch": {
"l": 0.43176,
"c": 0.14021,
"h": 338.3
},
"luminance": 0.07062
}Semantic roles & 50–950 ramp
primary
#7E296A
secondary
#55AE6A
accent
#DA6F4D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E