#7E1E45#7E1E45
#7E1E45 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.134 H 0.6°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1E45 |
|---|---|
| RGB | rgb(126, 30, 69) |
| HSL | hsl(336, 62%, 31%) |
| HSV | hsv(336, 76%, 49%) |
| CMYK | cmyk(0%, 76.2%, 45.2%, 50.6%) |
| CIE-LAB | lab(28.89, 43.68, 0.40) |
| CIE-LCH | lch(28.89, 43.68, 0.52°) |
| OKLab | oklab(40.45% 0.134 0.0015) |
| OKLCH | oklch(40.45% 0.134 0.6) |
| XYZ | xyz(10.1434, 5.7951, 6.2135) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.84
Red Purple
#820747
ΔE00 2.86
Mulberry
#920A4E
ΔE00 4.14
Merlot
#730039
ΔE00 4.17
Reddish Purple
#910951
ΔE00 4.44
Berry
#990F4B
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1E45 #1E7E57
analogous
#7E1E75 #7E1E45 #7E271E
triadic
#7E1E45 #457E1E #1E457E
tetradic
#7E1E45 #757E1E #1E7E57 #271E7E
square
#7E1E45 #757E1E #1E7E57 #271E7E
split-complementary
#7E1E45 #1E7E27 #1E757E
monochromatic
#1B060F #4D122A #7E1E45 #AF2A60 #D2447E
Accessibility & contrast
On white
9.73
#7E1E45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7E1E45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1E45
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1E45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1E45 | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333846
Deuteranopia (green-blind)
#4D4B43
Tritanopia (blue-blind)
#890E2F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1e45; /* rgb */ color: rgb(126, 30, 69); /* oklch */ color: oklch(40.5% 0.134 0.6);
Tailwind
colors: {
custom: {
50: '#a86378',
500: '#7e1e45',
950: '#000000',
},
}SCSS
$custom: #7e1e45; $custom-light: #a86378; $custom-dark: #000000;
JSON
{
"hex": "#7e1e45",
"rgb": {
"r": 126,
"g": 30,
"b": 69
},
"hsl": {
"h": 335.625,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.4045,
"c": 0.13399,
"h": 0.6
},
"luminance": 0.05794
}Semantic roles & 50–950 ramp
primary
#7E1E45
secondary
#47B186
accent
#E5A343
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B