#7E1946#7E1946
#7E1946 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.140 H 359.0°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1946 |
|---|---|
| RGB | rgb(126, 25, 70) |
| HSL | hsl(333, 67%, 30%) |
| HSV | hsv(333, 80%, 49%) |
| CMYK | cmyk(0%, 80.2%, 44.4%, 50.6%) |
| CIE-LAB | lab(28.31, 45.50, -1.12) |
| CIE-LCH | lch(28.31, 45.51, 358.59°) |
| OKLab | oklab(40.04% 0.1398 -0.0024) |
| OKLCH | oklch(40.04% 0.14 359) |
| XYZ | xyz(10.0581, 5.5744, 6.3395) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.87
Wine (survey)
#80013F
ΔE00 2.39
Merlot
#730039
ΔE00 3.69
Mulberry
#920A4E
ΔE00 3.82
Reddish Purple
#910951
ΔE00 3.92
Dark Magenta
#960056
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1946 #197E51
analogous
#7E1979 #7E1946 #7E1E19
triadic
#7E1946 #467E19 #19467E
tetradic
#7E1946 #797E19 #197E51 #1E197E
square
#7E1946 #797E19 #197E51 #1E197E
split-complementary
#7E1946 #197E1E #19797E
monochromatic
#1A050E #4B0F2A #7E1946 #B12362 #D83A80
Accessibility & contrast
On white
9.93
#7E1946 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7E1946 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1946
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1946 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1946 | 1.00 | 9.93 | 2.11 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303747
Deuteranopia (green-blind)
#4B4A44
Tritanopia (blue-blind)
#89062D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1946; /* rgb */ color: rgb(126, 25, 70); /* oklch */ color: oklch(40.0% 0.140 359.0);
Tailwind
colors: {
custom: {
50: '#a86179',
500: '#7e1946',
950: '#000000',
},
}SCSS
$custom: #7e1946; $custom-light: #a86179; $custom-dark: #000000;
JSON
{
"hex": "#7e1946",
"rgb": {
"r": 126,
"g": 25,
"b": 70
},
"hsl": {
"h": 333.267,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.40037,
"c": 0.13985,
"h": 359
},
"luminance": 0.05573
}Semantic roles & 50–950 ramp
primary
#7E1946
secondary
#41B280
accent
#EA9D3E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B