#7E1D3A#7E1D3A
#7E1D3A is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.132 H 8.0°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1D3A |
|---|---|
| RGB | rgb(126, 29, 58) |
| HSL | hsl(342, 63%, 30%) |
| HSV | hsv(342, 77%, 49%) |
| CMYK | cmyk(0%, 77%, 54%, 50.6%) |
| CIE-LAB | lab(28.44, 42.99, 7.11) |
| CIE-LCH | lch(28.44, 43.57, 9.38°) |
| OKLab | oklab(40.01% 0.1309 0.0183) |
| OKLCH | oklch(40.01% 0.132 8) |
| XYZ | xyz(9.8082, 5.6212, 4.5707) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.80
Red Wine
#8C0034
ΔE00 3.83
Wine (survey)
#80013F
ΔE00 4.39
Merlot
#730039
ΔE00 5.43
Wine
#722F37
ΔE00 5.54
Purple Red
#990147
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1D3A #1D7E61
analogous
#7E1D6A #7E1D3A #7E301D
triadic
#7E1D3A #3A7E1D #1D3A7E
tetradic
#7E1D3A #6A7E1D #1D7E61 #301D7E
square
#7E1D3A #6A7E1D #1D7E61 #301D7E
split-complementary
#7E1D3A #1D7E30 #1D6A7E
monochromatic
#1B060C #4C1223 #7E1D3A #B02851 #D3426D
Accessibility & contrast
On white
9.89
#7E1D3A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7E1D3A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1D3A
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1D3A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1D3A | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35373B
Deuteranopia (green-blind)
#4F4A38
Tritanopia (blue-blind)
#8A0429
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1d3a; /* rgb */ color: rgb(126, 29, 58); /* oklch */ color: oklch(40.0% 0.132 8.0);
Tailwind
colors: {
custom: {
50: '#a9626f',
500: '#7e1d3a',
950: '#000000',
},
}SCSS
$custom: #7e1d3a; $custom-light: #a9626f; $custom-dark: #000000;
JSON
{
"hex": "#7e1d3a",
"rgb": {
"r": 126,
"g": 29,
"b": 58
},
"hsl": {
"h": 342.062,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.4001,
"c": 0.13216,
"h": 8
},
"luminance": 0.0562
}Semantic roles & 50–950 ramp
primary
#7E1D3A
secondary
#45B191
accent
#E6B542
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110607
muted
#807A7A