#7E1D46#7E1D46
#7E1D46 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.135 H 359.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1D46 |
|---|---|
| RGB | rgb(126, 29, 70) |
| HSL | hsl(335, 63%, 30%) |
| HSV | hsv(335, 77%, 49%) |
| CMYK | cmyk(0%, 77%, 44.4%, 50.6%) |
| CIE-LAB | lab(28.79, 44.14, -0.41) |
| CIE-LCH | lch(28.79, 44.14, 359.47°) |
| OKLab | oklab(40.39% 0.1355 -0.0006) |
| OKLCH | oklch(40.39% 0.135 359.8) |
| XYZ | xyz(10.1498, 5.7579, 6.3701) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.51
Wine (survey)
#80013F
ΔE00 2.77
Mulberry
#920A4E
ΔE00 3.98
Merlot
#730039
ΔE00 4.08
Reddish Purple
#910951
ΔE00 4.18
Berry
#990F4B
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1D46 #1D7E55
analogous
#7E1D76 #7E1D46 #7E241D
triadic
#7E1D46 #467E1D #1D467E
tetradic
#7E1D46 #767E1D #1D7E55 #241D7E
square
#7E1D46 #767E1D #1D7E55 #241D7E
split-complementary
#7E1D46 #1D7E24 #1D767E
monochromatic
#1B060F #4C122A #7E1D46 #B02862 #D3427F
Accessibility & contrast
On white
9.76
#7E1D46 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7E1D46 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1D46
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1D46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1D46 | 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)
#323847
Deuteranopia (green-blind)
#4D4B44
Tritanopia (blue-blind)
#890D2F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1d46; /* rgb */ color: rgb(126, 29, 70); /* oklch */ color: oklch(40.4% 0.135 359.8);
Tailwind
colors: {
custom: {
50: '#a86379',
500: '#7e1d46',
950: '#000000',
},
}SCSS
$custom: #7e1d46; $custom-light: #a86379; $custom-dark: #000000;
JSON
{
"hex": "#7e1d46",
"rgb": {
"r": 126,
"g": 29,
"b": 70
},
"hsl": {
"h": 334.639,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.4039,
"c": 0.13549,
"h": 359.8
},
"luminance": 0.05757
}Semantic roles & 50–950 ramp
primary
#7E1D46
secondary
#45B184
accent
#E6A142
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B