#7E1B50#7E1B50
#7E1B50 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.142 H 352.8°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1B50 |
|---|---|
| RGB | rgb(126, 27, 80) |
| HSL | hsl(328, 65%, 30%) |
| HSV | hsv(328, 79%, 49%) |
| CMYK | cmyk(0%, 78.6%, 36.5%, 50.6%) |
| CIE-LAB | lab(28.90, 45.95, -6.90) |
| CIE-LCH | lch(28.90, 46.46, 351.47°) |
| OKLab | oklab(40.59% 0.141 -0.0177) |
| OKLCH | oklch(40.59% 0.142 352.8) |
| XYZ | xyz(10.4447, 5.7999, 8.1573) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.89
Reddish Purple
#910951
ΔE00 3.91
Velvet
#750851
ΔE00 3.92
Mulberry
#920A4E
ΔE00 4.53
Dark Magenta
#960056
ΔE00 4.56
Wine (survey)
#80013F
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1B50 #1B7E49
analogous
#7B1B7E #7E1B50 #7E1B1E
triadic
#7E1B50 #507E1B #1B507E
tetradic
#7E1B50 #7E7B1B #1B7E49 #1B1E7E
square
#7E1B50 #7E7B1B #1B7E49 #1B1E7E
split-complementary
#7E1B50 #1E7E1B #1B7E7B
monochromatic
#190510 #4C1030 #7E1B50 #B02670 #D63E8F
Accessibility & contrast
On white
9.72
#7E1B50 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7E1B50 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1B50
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1B50 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1B50 | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3951
Deuteranopia (green-blind)
#4A4B4E
Tritanopia (blue-blind)
#881133
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1b50; /* rgb */ color: rgb(126, 27, 80); /* oklch */ color: oklch(40.6% 0.142 352.8);
Tailwind
colors: {
custom: {
50: '#a86281',
500: '#7e1b50',
950: '#000000',
},
}SCSS
$custom: #7e1b50; $custom-light: #a86281; $custom-dark: #000000;
JSON
{
"hex": "#7e1b50",
"rgb": {
"r": 126,
"g": 27,
"b": 80
},
"hsl": {
"h": 327.879,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.40586,
"c": 0.14206,
"h": 352.8
},
"luminance": 0.05799
}Semantic roles & 50–950 ramp
primary
#7E1B50
secondary
#43B276
accent
#E88E40
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C