#7E254A#7E254A
#7E254A is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.4% C 0.127 H 358.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7E254A |
|---|---|
| RGB | rgb(126, 37, 74) |
| HSL | hsl(335, 55%, 32%) |
| HSV | hsv(335, 71%, 49%) |
| CMYK | cmyk(0%, 70.6%, 41.3%, 50.6%) |
| CIE-LAB | lab(30.05, 41.46, -1.23) |
| CIE-LCH | lch(30.05, 41.48, 358.30°) |
| OKLab | oklab(41.36% 0.127 -0.0027) |
| OKLCH | oklch(41.36% 0.127 358.8) |
| XYZ | xyz(10.5025, 6.2544, 7.1314) |
| Luminance | 0.0625 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.58
Wine (survey)
#80013F
ΔE00 4.16
Mulberry
#920A4E
ΔE00 4.42
Reddish Purple
#910951
ΔE00 4.53
Merlot
#730039
ΔE00 5.33
Berry
#990F4B
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E254A #257E59
analogous
#7E2577 #7E254A #7E2D25
triadic
#7E254A #4A7E25 #254A7E
tetradic
#7E254A #777E25 #257E59 #2D257E
square
#7E254A #777E25 #257E59 #2D257E
split-complementary
#7E254A #257E2D #25777E
monochromatic
#1F0912 #4F172E #7E254A #AD3366 #CC5184
Accessibility & contrast
On white
9.33
#7E254A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#7E254A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E254A
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E254A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E254A | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363C4B
Deuteranopia (green-blind)
#4E4D48
Tritanopia (blue-blind)
#891B34
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7e254a; /* rgb */ color: rgb(126, 37, 74); /* oklch */ color: oklch(41.4% 0.127 358.8);
Tailwind
colors: {
custom: {
50: '#a7667c',
500: '#7e254a',
950: '#000000',
},
}SCSS
$custom: #7e254a; $custom-light: #a7667c; $custom-dark: #000000;
JSON
{
"hex": "#7e254a",
"rgb": {
"r": 126,
"g": 37,
"b": 74
},
"hsl": {
"h": 335.056,
"s": 54.601,
"l": 31.961
},
"oklch": {
"l": 0.41356,
"c": 0.12702,
"h": 358.8
},
"luminance": 0.06253
}Semantic roles & 50–950 ramp
primary
#7E254A
secondary
#4FB088
accent
#DEA04A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B