#7E295F#7E295F
#7E295F is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.132 H 345.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7E295F |
|---|---|
| RGB | rgb(126, 41, 95) |
| HSL | hsl(322, 51%, 33%) |
| HSV | hsv(322, 67%, 49%) |
| CMYK | cmyk(0%, 67.5%, 24.6%, 50.6%) |
| CIE-LAB | lab(31.46, 42.46, -12.83) |
| CIE-LCH | lch(31.46, 44.36, 343.19°) |
| OKLab | oklab(42.66% 0.128 -0.034) |
| OKLCH | oklch(42.66% 0.132 345.1) |
| XYZ | xyz(11.4631, 6.8488, 11.5425) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 4.91
Velvet
#750851
ΔE00 5.03
Bruise
#7E4071
ΔE00 5.90
Rich Purple
#720058
ΔE00 6.20
Red Violet
#9E0168
ΔE00 6.31
Dark Magenta
#960056
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E295F #297E48
analogous
#72297E #7E295F #7E2935
triadic
#7E295F #5F7E29 #295F7E
tetradic
#7E295F #7E7229 #297E48 #29357E
square
#7E295F #7E7229 #297E48 #29357E
split-complementary
#7E295F #357E29 #297E72
monochromatic
#220B19 #501A3C #7E295F #AC3882 #C959A0
Accessibility & contrast
On white
8.86
#7E295F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#7E295F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E295F
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E295F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E295F | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324161
Deuteranopia (green-blind)
#4B4F5D
Tritanopia (blue-blind)
#862840
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7e295f; /* rgb */ color: rgb(126, 41, 95); /* oklch */ color: oklch(42.7% 0.132 345.1);
Tailwind
colors: {
custom: {
50: '#a6698c',
500: '#7e295f',
950: '#000000',
},
}SCSS
$custom: #7e295f; $custom-light: #a6698c; $custom-dark: #000000;
JSON
{
"hex": "#7e295f",
"rgb": {
"r": 126,
"g": 41,
"b": 95
},
"hsl": {
"h": 321.882,
"s": 50.898,
"l": 32.745
},
"oklch": {
"l": 0.42657,
"c": 0.13242,
"h": 345.1
},
"luminance": 0.06848
}Semantic roles & 50–950 ramp
primary
#7E295F
secondary
#55AE75
accent
#DA814D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D