#7E1548#7E1548
#7E1548 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.145 H 357.1°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1548 |
|---|---|
| RGB | rgb(126, 21, 72) |
| HSL | hsl(331, 71%, 29%) |
| HSV | hsv(331, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 42.9%, 50.6%) |
| CIE-LAB | lab(27.96, 46.91, -2.98) |
| CIE-LCH | lch(27.96, 47.01, 356.37°) |
| OKLab | oklab(39.8% 0.1444 -0.0072) |
| OKLCH | oklch(39.8% 0.145 357.1) |
| XYZ | xyz(10.0428, 5.4412, 6.6510) |
| Luminance | 0.0544 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.27
Wine (survey)
#80013F
ΔE00 2.64
Reddish Purple
#910951
ΔE00 3.63
Merlot
#730039
ΔE00 3.72
Mulberry
#920A4E
ΔE00 3.81
Dark Magenta
#960056
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1548 #157E4B
analogous
#7E157D #7E1548 #7E1615
triadic
#7E1548 #487E15 #15487E
tetradic
#7E1548 #7D7E15 #157E4B #16157E
square
#7E1548 #7D7E15 #157E4B #16157E
split-complementary
#7E1548 #157E16 #157D7E
monochromatic
#1A040F #4A0C2A #7E1548 #B21E66 #DD3184
Accessibility & contrast
On white
10.06
#7E1548 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7E1548 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1548
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1548 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1548 | 1.00 | 10.06 | 2.09 | 10.06 |
| #FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3549
Deuteranopia (green-blind)
#4A4946
Tritanopia (blue-blind)
#89012D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1548; /* rgb */ color: rgb(126, 21, 72); /* oklch */ color: oklch(39.8% 0.145 357.1);
Tailwind
colors: {
custom: {
50: '#a8607a',
500: '#7e1548',
950: '#000000',
},
}SCSS
$custom: #7e1548; $custom-light: #a8607a; $custom-dark: #000000;
JSON
{
"hex": "#7e1548",
"rgb": {
"r": 126,
"g": 21,
"b": 72
},
"hsl": {
"h": 330.857,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.39799,
"c": 0.14456,
"h": 357.1
},
"luminance": 0.0544
}Semantic roles & 50–950 ramp
primary
#7E1548
secondary
#3CB379
accent
#EE963A
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B