#7E1A48#7E1A48
#7E1A48 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.140 H 357.9°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1A48 |
|---|---|
| RGB | rgb(126, 26, 72) |
| HSL | hsl(332, 66%, 30%) |
| HSV | hsv(332, 79%, 49%) |
| CMYK | cmyk(0%, 79.4%, 42.9%, 50.6%) |
| CIE-LAB | lab(28.49, 45.38, -2.18) |
| CIE-LCH | lch(28.49, 45.43, 357.24°) |
| OKLab | oklab(40.19% 0.1395 -0.0052) |
| OKLCH | oklch(40.19% 0.14 357.9) |
| XYZ | xyz(10.1440, 5.6436, 6.6848) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.83
Wine (survey)
#80013F
ΔE00 2.80
Reddish Purple
#910951
ΔE00 3.76
Mulberry
#920A4E
ΔE00 3.81
Merlot
#730039
ΔE00 3.98
Dark Magenta
#960056
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1A48 #1A7E50
analogous
#7E1A7A #7E1A48 #7E1E1A
triadic
#7E1A48 #487E1A #1A487E
tetradic
#7E1A48 #7A7E1A #1A7E50 #1E1A7E
square
#7E1A48 #7A7E1A #1A7E50 #1E1A7E
split-complementary
#7E1A48 #1A7E1E #1A7A7E
monochromatic
#19050E #4B102B #7E1A48 #B12465 #D73C83
Accessibility & contrast
On white
9.87
#7E1A48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7E1A48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1A48
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1A48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1A48 | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303749
Deuteranopia (green-blind)
#4B4A46
Tritanopia (blue-blind)
#89092E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1a48; /* rgb */ color: rgb(126, 26, 72); /* oklch */ color: oklch(40.2% 0.140 357.9);
Tailwind
colors: {
custom: {
50: '#a8617a',
500: '#7e1a48',
950: '#000000',
},
}SCSS
$custom: #7e1a48; $custom-light: #a8617a; $custom-dark: #000000;
JSON
{
"hex": "#7e1a48",
"rgb": {
"r": 126,
"g": 26,
"b": 72
},
"hsl": {
"h": 332.4,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.40193,
"c": 0.13958,
"h": 357.9
},
"luminance": 0.05642
}Semantic roles & 50–950 ramp
primary
#7E1A48
secondary
#42B27E
accent
#E99B3F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B