#7E1145#7E1145
#7E1145 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.147 H 358.5°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1145 |
|---|---|
| RGB | rgb(126, 17, 69) |
| HSL | hsl(331, 76%, 28%) |
| HSV | hsv(331, 87%, 49%) |
| CMYK | cmyk(0%, 86.5%, 45.2%, 50.6%) |
| CIE-LAB | lab(27.48, 47.66, -1.66) |
| CIE-LCH | lch(27.48, 47.69, 358.00°) |
| OKLab | oklab(39.42% 0.1468 -0.0038) |
| OKLCH | oklch(39.42% 0.147 358.5) |
| XYZ | xyz(9.8796, 5.2675, 6.1256) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.09
Wine (survey)
#80013F
ΔE00 1.85
Merlot
#730039
ΔE00 3.13
Reddish Purple
#910951
ΔE00 3.82
Mulberry
#920A4E
ΔE00 3.83
Dark Magenta
#960056
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1145 #117E4A
analogous
#7E117B #7E1145 #7E1311
triadic
#7E1145 #457E11 #11457E
tetradic
#7E1145 #7B7E11 #117E4A #13117E
square
#7E1145 #7B7E11 #117E4A #13117E
split-complementary
#7E1145 #117E13 #117B7E
monochromatic
#1B040F #480A27 #7E1145 #B41863 #E22780
Accessibility & contrast
On white
10.23
#7E1145 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7E1145 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1145
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1145 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1145 | 1.00 | 10.23 | 2.05 | 10.23 |
| #FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3446
Deuteranopia (green-blind)
#4A4843
Tritanopia (blue-blind)
#89002A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1145; /* rgb */ color: rgb(126, 17, 69); /* oklch */ color: oklch(39.4% 0.147 358.5);
Tailwind
colors: {
custom: {
50: '#a85e78',
500: '#7e1145',
950: '#000000',
},
}SCSS
$custom: #7e1145; $custom-light: #a85e78; $custom-dark: #000000;
JSON
{
"hex": "#7e1145",
"rgb": {
"r": 126,
"g": 17,
"b": 69
},
"hsl": {
"h": 331.376,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.3942,
"c": 0.14682,
"h": 358.5
},
"luminance": 0.05266
}Semantic roles & 50–950 ramp
primary
#7E1145
secondary
#37B478
accent
#F39835
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110509
muted
#80797B