#7E295D#7E295D
#7E295D is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.131 H 346.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7E295D |
|---|---|
| RGB | rgb(126, 41, 93) |
| HSL | hsl(323, 51%, 33%) |
| HSV | hsv(323, 67%, 49%) |
| CMYK | cmyk(0%, 67.5%, 26.2%, 50.6%) |
| CIE-LAB | lab(31.38, 42.18, -11.66) |
| CIE-LCH | lch(31.38, 43.76, 344.55°) |
| OKLab | oklab(42.57% 0.1275 -0.0308) |
| OKLCH | oklch(42.57% 0.131 346.4) |
| XYZ | xyz(11.3733, 6.8130, 11.0699) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 5.00
Grape
#6C3461
ΔE00 5.14
Reddish Purple
#910951
ΔE00 6.08
Dark Magenta
#960056
ΔE00 6.15
Bruise
#7E4071
ΔE00 6.17
Red Purple
#820747
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E295D #297E4A
analogous
#74297E #7E295D #7E2933
triadic
#7E295D #5D7E29 #295D7E
tetradic
#7E295D #7E7429 #297E4A #29337E
square
#7E295D #7E7429 #297E4A #29337E
split-complementary
#7E295D #337E29 #297E74
monochromatic
#220B19 #501A3B #7E295D #AC387F #C9599D
Accessibility & contrast
On white
8.89
#7E295D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#7E295D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E295D
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E295D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E295D | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33415F
Deuteranopia (green-blind)
#4B4F5B
Tritanopia (blue-blind)
#87273F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7e295d; /* rgb */ color: rgb(126, 41, 93); /* oklch */ color: oklch(42.6% 0.131 346.4);
Tailwind
colors: {
custom: {
50: '#a6698b',
500: '#7e295d',
950: '#000000',
},
}SCSS
$custom: #7e295d; $custom-light: #a6698b; $custom-dark: #000000;
JSON
{
"hex": "#7e295d",
"rgb": {
"r": 126,
"g": 41,
"b": 93
},
"hsl": {
"h": 323.294,
"s": 50.898,
"l": 32.745
},
"oklch": {
"l": 0.42569,
"c": 0.13114,
"h": 346.4
},
"luminance": 0.06812
}Semantic roles & 50–950 ramp
primary
#7E295D
secondary
#55AE77
accent
#DA844D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D