#7E1A4B#7E1A4B
#7E1A4B is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.141 H 355.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1A4B |
|---|---|
| RGB | rgb(126, 26, 75) |
| HSL | hsl(331, 66%, 30%) |
| HSV | hsv(331, 79%, 49%) |
| CMYK | cmyk(0%, 79.4%, 40.5%, 50.6%) |
| CIE-LAB | lab(28.60, 45.71, -4.03) |
| CIE-LCH | lch(28.60, 45.88, 354.96°) |
| OKLab | oklab(40.3% 0.1405 -0.01) |
| OKLCH | oklch(40.3% 0.141 355.9) |
| XYZ | xyz(10.2443, 5.6837, 7.2128) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.94
Wine (survey)
#80013F
ΔE00 3.46
Reddish Purple
#910951
ΔE00 3.63
Mulberry
#920A4E
ΔE00 3.94
Merlot
#730039
ΔE00 4.45
Dark Magenta
#960056
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1A4B #1A7E4D
analogous
#7E1A7D #7E1A4B #7E1B1A
triadic
#7E1A4B #4B7E1A #1A4B7E
tetradic
#7E1A4B #7D7E1A #1A7E4D #1B1A7E
square
#7E1A4B #7D7E1A #1A7E4D #1B1A7E
split-complementary
#7E1A4B #1A7E1B #1A7D7E
monochromatic
#19050F #4B102D #7E1A4B #B12469 #D73C88
Accessibility & contrast
On white
9.83
#7E1A4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7E1A4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1A4B
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1A4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1A4B | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F384C
Deuteranopia (green-blind)
#4B4A49
Tritanopia (blue-blind)
#890C30
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1a4b; /* rgb */ color: rgb(126, 26, 75); /* oklch */ color: oklch(40.3% 0.141 355.9);
Tailwind
colors: {
custom: {
50: '#a8627d',
500: '#7e1a4b',
950: '#000000',
},
}SCSS
$custom: #7e1a4b; $custom-light: #a8627d; $custom-dark: #000000;
JSON
{
"hex": "#7e1a4b",
"rgb": {
"r": 126,
"g": 26,
"b": 75
},
"hsl": {
"h": 330.6,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.40304,
"c": 0.14083,
"h": 355.9
},
"luminance": 0.05682
}Semantic roles & 50–950 ramp
primary
#7E1A4B
secondary
#42B27B
accent
#E9963F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B