#7E1A45#7E1A45
#7E1A45 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.138 H 359.9°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1A45 |
|---|---|
| RGB | rgb(126, 26, 69) |
| HSL | hsl(334, 66%, 30%) |
| HSV | hsv(334, 79%, 49%) |
| CMYK | cmyk(0%, 79.4%, 45.2%, 50.6%) |
| CIE-LAB | lab(28.39, 45.07, -0.33) |
| CIE-LCH | lch(28.39, 45.07, 359.58°) |
| OKLab | oklab(40.09% 0.1384 -0.0003) |
| OKLCH | oklch(40.09% 0.138 359.9) |
| XYZ | xyz(10.0485, 5.6054, 6.1819) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.19
Wine (survey)
#80013F
ΔE00 2.35
Merlot
#730039
ΔE00 3.71
Mulberry
#920A4E
ΔE00 3.91
Reddish Purple
#910951
ΔE00 4.12
Berry
#990F4B
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1A45 #1A7E53
analogous
#7E1A77 #7E1A45 #7E211A
triadic
#7E1A45 #457E1A #1A457E
tetradic
#7E1A45 #777E1A #1A7E53 #211A7E
square
#7E1A45 #777E1A #1A7E53 #211A7E
split-complementary
#7E1A45 #1A7E21 #1A777E
monochromatic
#19050E #4B1029 #7E1A45 #B12461 #D73C7E
Accessibility & contrast
On white
9.90
#7E1A45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7E1A45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1A45
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1A45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1A45 | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313746
Deuteranopia (green-blind)
#4C4A43
Tritanopia (blue-blind)
#89072D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1a45; /* rgb */ color: rgb(126, 26, 69); /* oklch */ color: oklch(40.1% 0.138 359.9);
Tailwind
colors: {
custom: {
50: '#a86178',
500: '#7e1a45',
950: '#000000',
},
}SCSS
$custom: #7e1a45; $custom-light: #a86178; $custom-dark: #000000;
JSON
{
"hex": "#7e1a45",
"rgb": {
"r": 126,
"g": 26,
"b": 69
},
"hsl": {
"h": 334.2,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.40086,
"c": 0.13844,
"h": 359.9
},
"luminance": 0.05604
}Semantic roles & 50–950 ramp
primary
#7E1A45
secondary
#42B282
accent
#E9A03F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B