#7E1A50#7E1A50
#7E1A50 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.143 H 352.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1A50 |
|---|---|
| RGB | rgb(126, 26, 80) |
| HSL | hsl(328, 66%, 30%) |
| HSV | hsv(328, 79%, 49%) |
| CMYK | cmyk(0%, 79.4%, 36.5%, 50.6%) |
| CIE-LAB | lab(28.79, 46.28, -7.07) |
| CIE-LCH | lch(28.79, 46.81, 351.31°) |
| OKLab | oklab(40.5% 0.142 -0.0182) |
| OKLCH | oklch(40.5% 0.143 352.7) |
| XYZ | xyz(10.4222, 5.7549, 8.1498) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.87
Velvet
#750851
ΔE00 3.79
Reddish Purple
#910951
ΔE00 3.91
Dark Magenta
#960056
ΔE00 4.55
Mulberry
#920A4E
ΔE00 4.56
Wine (survey)
#80013F
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1A50 #1A7E48
analogous
#7A1A7E #7E1A50 #7E1A1E
triadic
#7E1A50 #507E1A #1A507E
tetradic
#7E1A50 #7E7A1A #1A7E48 #1A1E7E
square
#7E1A50 #7E7A1A #1A7E48 #1A1E7E
split-complementary
#7E1A50 #1E7E1A #1A7E7A
monochromatic
#190510 #4B1030 #7E1A50 #B12470 #D73C8F
Accessibility & contrast
On white
9.76
#7E1A50 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7E1A50 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1A50
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1A50 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1A50 | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3851
Deuteranopia (green-blind)
#494A4E
Tritanopia (blue-blind)
#881033
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1a50; /* rgb */ color: rgb(126, 26, 80); /* oklch */ color: oklch(40.5% 0.143 352.7);
Tailwind
colors: {
custom: {
50: '#a86281',
500: '#7e1a50',
950: '#000000',
},
}SCSS
$custom: #7e1a50; $custom-light: #a86281; $custom-dark: #000000;
JSON
{
"hex": "#7e1a50",
"rgb": {
"r": 126,
"g": 26,
"b": 80
},
"hsl": {
"h": 327.6,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.40501,
"c": 0.14316,
"h": 352.7
},
"luminance": 0.05754
}Semantic roles & 50–950 ramp
primary
#7E1A50
secondary
#42B275
accent
#E98D3F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C