#7E254D#7E254D
#7E254D is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.5% C 0.128 H 356.6°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7E254D |
|---|---|
| RGB | rgb(126, 37, 77) |
| HSL | hsl(333, 55%, 32%) |
| HSV | hsv(333, 71%, 49%) |
| CMYK | cmyk(0%, 70.6%, 38.9%, 50.6%) |
| CIE-LAB | lab(30.15, 41.81, -3.06) |
| CIE-LCH | lch(30.15, 41.92, 355.82°) |
| OKLab | oklab(41.46% 0.128 -0.0075) |
| OKLCH | oklch(41.46% 0.128 356.6) |
| XYZ | xyz(10.6060, 6.2958, 7.6764) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.50
Reddish Purple
#910951
ΔE00 4.30
Mulberry
#920A4E
ΔE00 4.42
Wine (survey)
#80013F
ΔE00 4.53
Dark Magenta
#960056
ΔE00 5.31
Merlot
#730039
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E254D #257E56
analogous
#7E257A #7E254D #7E2A25
triadic
#7E254D #4D7E25 #254D7E
tetradic
#7E254D #7A7E25 #257E56 #2A257E
square
#7E254D #7A7E25 #257E56 #2A257E
split-complementary
#7E254D #257E2A #257A7E
monochromatic
#1F0913 #4F1730 #7E254D #AD336A #CC5188
Accessibility & contrast
On white
9.30
#7E254D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#7E254D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E254D
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E254D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E254D | 1.00 | 9.30 | 2.26 | 9.30 |
| #FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353C4E
Deuteranopia (green-blind)
#4E4D4B
Tritanopia (blue-blind)
#881C36
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7e254d; /* rgb */ color: rgb(126, 37, 77); /* oklch */ color: oklch(41.5% 0.128 356.6);
Tailwind
colors: {
custom: {
50: '#a7677e',
500: '#7e254d',
950: '#000000',
},
}SCSS
$custom: #7e254d; $custom-light: #a7677e; $custom-dark: #000000;
JSON
{
"hex": "#7e254d",
"rgb": {
"r": 126,
"g": 37,
"b": 77
},
"hsl": {
"h": 333.034,
"s": 54.601,
"l": 31.961
},
"oklch": {
"l": 0.41464,
"c": 0.12825,
"h": 356.6
},
"luminance": 0.06295
}Semantic roles & 50–950 ramp
primary
#7E254D
secondary
#4FB084
accent
#DE9B4A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C