#7E294E#7E294E
#7E294E is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.0% C 0.123 H 356.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #7E294E |
|---|---|
| RGB | rgb(126, 41, 78) |
| HSL | hsl(334, 51%, 33%) |
| HSV | hsv(334, 67%, 49%) |
| CMYK | cmyk(0%, 67.5%, 38.1%, 50.6%) |
| CIE-LAB | lab(30.81, 40.19, -2.73) |
| CIE-LCH | lch(30.81, 40.28, 356.11°) |
| OKLab | oklab(41.97% 0.1229 -0.0067) |
| OKLCH | oklch(41.97% 0.123 356.9) |
| XYZ | xyz(10.7729, 6.5728, 7.9076) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 4.24
Reddish Purple
#910951
ΔE00 4.78
Mulberry
#920A4E
ΔE00 4.83
Wine (survey)
#80013F
ΔE00 5.15
Dark Magenta
#960056
ΔE00 5.74
Berry
#990F4B
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E294E #297E59
analogous
#7E2978 #7E294E #7E2E29
triadic
#7E294E #4E7E29 #294E7E
tetradic
#7E294E #787E29 #297E59 #2E297E
square
#7E294E #787E29 #297E59 #2E297E
split-complementary
#7E294E #297E2E #29787E
monochromatic
#220B15 #501A31 #7E294E #AC386B #C95989
Accessibility & contrast
On white
9.07
#7E294E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#7E294E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E294E
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E294E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E294E | 1.00 | 9.07 | 2.31 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383E4F
Deuteranopia (green-blind)
#4F4E4C
Tritanopia (blue-blind)
#882138
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7e294e; /* rgb */ color: rgb(126, 41, 78); /* oklch */ color: oklch(42.0% 0.123 356.9);
Tailwind
colors: {
custom: {
50: '#a7697f',
500: '#7e294e',
950: '#000000',
},
}SCSS
$custom: #7e294e; $custom-light: #a7697f; $custom-dark: #000000;
JSON
{
"hex": "#7e294e",
"rgb": {
"r": 126,
"g": 41,
"b": 78
},
"hsl": {
"h": 333.882,
"s": 50.898,
"l": 32.745
},
"oklch": {
"l": 0.41968,
"c": 0.12307,
"h": 356.9
},
"luminance": 0.06572
}Semantic roles & 50–950 ramp
primary
#7E294E
secondary
#55AE87
accent
#DA9D4D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C