#7E295E#7E295E
#7E295E is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.132 H 345.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7E295E |
|---|---|
| RGB | rgb(126, 41, 94) |
| HSL | hsl(323, 51%, 33%) |
| HSV | hsv(323, 67%, 49%) |
| CMYK | cmyk(0%, 67.5%, 25.4%, 50.6%) |
| CIE-LAB | lab(31.42, 42.32, -12.24) |
| CIE-LCH | lch(31.42, 44.05, 343.86°) |
| OKLab | oklab(42.61% 0.1277 -0.0324) |
| OKLCH | oklch(42.61% 0.132 345.7) |
| XYZ | xyz(11.4179, 6.8308, 11.3047) |
| Luminance | 0.0683 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 5.00
Grape
#6C3461
ΔE00 5.02
Bruise
#7E4071
ΔE00 6.03
Reddish Purple
#910951
ΔE00 6.26
Dark Magenta
#960056
ΔE00 6.28
Rich Purple
#720058
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E295E #297E49
analogous
#73297E #7E295E #7E2934
triadic
#7E295E #5E7E29 #295E7E
tetradic
#7E295E #7E7329 #297E49 #29347E
square
#7E295E #7E7329 #297E49 #29347E
split-complementary
#7E295E #347E29 #297E73
monochromatic
#220B19 #501A3C #7E295E #AC3880 #C9599F
Accessibility & contrast
On white
8.88
#7E295E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#7E295E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E295E
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E295E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E295E | 1.00 | 8.88 | 2.37 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324160
Deuteranopia (green-blind)
#4B4F5C
Tritanopia (blue-blind)
#86283F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7e295e; /* rgb */ color: rgb(126, 41, 94); /* oklch */ color: oklch(42.6% 0.132 345.7);
Tailwind
colors: {
custom: {
50: '#a6698b',
500: '#7e295e',
950: '#000000',
},
}SCSS
$custom: #7e295e; $custom-light: #a6698b; $custom-dark: #000000;
JSON
{
"hex": "#7e295e",
"rgb": {
"r": 126,
"g": 41,
"b": 94
},
"hsl": {
"h": 322.588,
"s": 50.898,
"l": 32.745
},
"oklch": {
"l": 0.42613,
"c": 0.13178,
"h": 345.7
},
"luminance": 0.0683
}Semantic roles & 50–950 ramp
primary
#7E295E
secondary
#55AE76
accent
#DA824D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D