#7E2A4E#7E2A4E
#7E2A4E is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.1% C 0.122 H 357.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2A4E |
|---|---|
| RGB | rgb(126, 42, 78) |
| HSL | hsl(334, 50%, 33%) |
| HSV | hsv(334, 67%, 49%) |
| CMYK | cmyk(0%, 66.7%, 38.1%, 50.6%) |
| CIE-LAB | lab(30.98, 39.74, -2.49) |
| CIE-LCH | lch(30.98, 39.82, 356.42°) |
| OKLab | oklab(42.09% 0.1215 -0.006) |
| OKLCH | oklch(42.09% 0.122 357.2) |
| XYZ | xyz(10.8079, 6.6428, 7.9193) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 4.44
Reddish Purple
#910951
ΔE00 4.93
Mulberry
#920A4E
ΔE00 4.95
Wine (survey)
#80013F
ΔE00 5.29
Dark Magenta
#960056
ΔE00 5.90
Berry
#990F4B
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2A4E #2A7E5A
analogous
#7E2A78 #7E2A4E #7E302A
triadic
#7E2A4E #4E7E2A #2A4E7E
tetradic
#7E2A4E #787E2A #2A7E5A #302A7E
square
#7E2A4E #787E2A #2A7E5A #302A7E
split-complementary
#7E2A4E #2A7E30 #2A787E
monochromatic
#220B15 #501B32 #7E2A4E #AC396A #C85A89
Accessibility & contrast
On white
9.02
#7E2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#7E2A4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2A4E
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2A4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2A4E | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393F4F
Deuteranopia (green-blind)
#4F4F4C
Tritanopia (blue-blind)
#882338
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7e2a4e; /* rgb */ color: rgb(126, 42, 78); /* oklch */ color: oklch(42.1% 0.122 357.2);
Tailwind
colors: {
custom: {
50: '#a7697f',
500: '#7e2a4e',
950: '#000000',
},
}SCSS
$custom: #7e2a4e; $custom-light: #a7697f; $custom-dark: #000000;
JSON
{
"hex": "#7e2a4e",
"rgb": {
"r": 126,
"g": 42,
"b": 78
},
"hsl": {
"h": 334.286,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.42091,
"c": 0.12162,
"h": 357.2
},
"luminance": 0.06642
}Semantic roles & 50–950 ramp
primary
#7E2A4E
secondary
#56AE88
accent
#DA9E4E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C