#7E1E47#7E1E47
#7E1E47 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.135 H 359.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1E47 |
|---|---|
| RGB | rgb(126, 30, 71) |
| HSL | hsl(334, 62%, 31%) |
| HSV | hsv(334, 76%, 49%) |
| CMYK | cmyk(0%, 76.2%, 43.7%, 50.6%) |
| CIE-LAB | lab(28.95, 43.89, -0.84) |
| CIE-LCH | lch(28.95, 43.89, 358.90°) |
| OKLab | oklab(40.52% 0.1347 -0.0017) |
| OKLCH | oklch(40.52% 0.135 359.3) |
| XYZ | xyz(10.2065, 5.8204, 6.5460) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.54
Wine (survey)
#80013F
ΔE00 2.98
Mulberry
#920A4E
ΔE00 3.98
Reddish Purple
#910951
ΔE00 4.12
Merlot
#730039
ΔE00 4.25
Berry
#990F4B
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1E47 #1E7E55
analogous
#7E1E77 #7E1E47 #7E251E
triadic
#7E1E47 #477E1E #1E477E
tetradic
#7E1E47 #777E1E #1E7E55 #251E7E
square
#7E1E47 #777E1E #1E7E55 #251E7E
split-complementary
#7E1E47 #1E7E25 #1E777E
monochromatic
#1B060F #4D122B #7E1E47 #AF2A63 #D24481
Accessibility & contrast
On white
9.71
#7E1E47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7E1E47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1E47
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1E47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1E47 | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333948
Deuteranopia (green-blind)
#4D4B45
Tritanopia (blue-blind)
#891030
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1e47; /* rgb */ color: rgb(126, 30, 71); /* oklch */ color: oklch(40.5% 0.135 359.3);
Tailwind
colors: {
custom: {
50: '#a8637a',
500: '#7e1e47',
950: '#000000',
},
}SCSS
$custom: #7e1e47; $custom-light: #a8637a; $custom-dark: #000000;
JSON
{
"hex": "#7e1e47",
"rgb": {
"r": 126,
"g": 30,
"b": 71
},
"hsl": {
"h": 334.375,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.4052,
"c": 0.1347,
"h": 359.3
},
"luminance": 0.05819
}Semantic roles & 50–950 ramp
primary
#7E1E47
secondary
#47B184
accent
#E5A043
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B