#7E1E46#7E1E46
#7E1E46 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.134 H 360.0°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1E46 |
|---|---|
| RGB | rgb(126, 30, 70) |
| HSL | hsl(335, 62%, 31%) |
| HSV | hsv(335, 76%, 49%) |
| CMYK | cmyk(0%, 76.2%, 44.4%, 50.6%) |
| CIE-LAB | lab(28.92, 43.78, -0.22) |
| CIE-LCH | lch(28.92, 43.78, 359.71°) |
| OKLab | oklab(40.49% 0.1343 -0.0001) |
| OKLCH | oklch(40.49% 0.134 0) |
| XYZ | xyz(10.1747, 5.8077, 6.3784) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.69
Wine (survey)
#80013F
ΔE00 2.89
Mulberry
#920A4E
ΔE00 4.04
Merlot
#730039
ΔE00 4.20
Reddish Purple
#910951
ΔE00 4.27
Berry
#990F4B
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1E46 #1E7E56
analogous
#7E1E76 #7E1E46 #7E261E
triadic
#7E1E46 #467E1E #1E467E
tetradic
#7E1E46 #767E1E #1E7E56 #261E7E
square
#7E1E46 #767E1E #1E7E56 #261E7E
split-complementary
#7E1E46 #1E7E26 #1E767E
monochromatic
#1B060F #4D122B #7E1E46 #AF2A61 #D2447F
Accessibility & contrast
On white
9.72
#7E1E46 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7E1E46 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1E46
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1E46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1E46 | 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)
#333847
Deuteranopia (green-blind)
#4D4B44
Tritanopia (blue-blind)
#890F2F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1e46; /* rgb */ color: rgb(126, 30, 70); /* oklch */ color: oklch(40.5% 0.134 360.0);
Tailwind
colors: {
custom: {
50: '#a86379',
500: '#7e1e46',
950: '#000000',
},
}SCSS
$custom: #7e1e46; $custom-light: #a86379; $custom-dark: #000000;
JSON
{
"hex": "#7e1e46",
"rgb": {
"r": 126,
"g": 30,
"b": 70
},
"hsl": {
"h": 335,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.40485,
"c": 0.13434,
"h": 360
},
"luminance": 0.05806
}Semantic roles & 50–950 ramp
primary
#7E1E46
secondary
#47B185
accent
#E5A143
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B