#7E1A47#7E1A47
#7E1A47 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.139 H 358.5°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1A47 |
|---|---|
| RGB | rgb(126, 26, 71) |
| HSL | hsl(333, 66%, 30%) |
| HSV | hsv(333, 79%, 49%) |
| CMYK | cmyk(0%, 79.4%, 43.7%, 50.6%) |
| CIE-LAB | lab(28.46, 45.28, -1.57) |
| CIE-LCH | lch(28.46, 45.30, 358.02°) |
| OKLab | oklab(40.16% 0.1391 -0.0036) |
| OKLCH | oklch(40.16% 0.139 358.5) |
| XYZ | xyz(10.1117, 5.6307, 6.5144) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.90
Wine (survey)
#80013F
ΔE00 2.62
Mulberry
#920A4E
ΔE00 3.82
Reddish Purple
#910951
ΔE00 3.85
Merlot
#730039
ΔE00 3.87
Dark Magenta
#960056
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1A47 #1A7E51
analogous
#7E1A79 #7E1A47 #7E1F1A
triadic
#7E1A47 #477E1A #1A477E
tetradic
#7E1A47 #797E1A #1A7E51 #1F1A7E
square
#7E1A47 #797E1A #1A7E51 #1F1A7E
split-complementary
#7E1A47 #1A7E1F #1A797E
monochromatic
#19050E #4B102A #7E1A47 #B12464 #D73C81
Accessibility & contrast
On white
9.88
#7E1A47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7E1A47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1A47
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1A47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1A47 | 1.00 | 9.88 | 2.13 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303748
Deuteranopia (green-blind)
#4B4A45
Tritanopia (blue-blind)
#89082E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1a47; /* rgb */ color: rgb(126, 26, 71); /* oklch */ color: oklch(40.2% 0.139 358.5);
Tailwind
colors: {
custom: {
50: '#a8617a',
500: '#7e1a47',
950: '#000000',
},
}SCSS
$custom: #7e1a47; $custom-light: #a8617a; $custom-dark: #000000;
JSON
{
"hex": "#7e1a47",
"rgb": {
"r": 126,
"g": 26,
"b": 71
},
"hsl": {
"h": 333,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.40157,
"c": 0.13919,
"h": 358.5
},
"luminance": 0.05629
}Semantic roles & 50–950 ramp
primary
#7E1A47
secondary
#42B280
accent
#E99C3F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B