#7E1738#7E1738
#7E1738 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.138 H 7.9°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1738 |
|---|---|
| RGB | rgb(126, 23, 56) |
| HSL | hsl(341, 69%, 29%) |
| HSV | hsv(341, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 55.6%, 50.6%) |
| CIE-LAB | lab(27.67, 44.83, 7.38) |
| CIE-LCH | lch(27.67, 45.43, 9.34°) |
| OKLab | oklab(39.43% 0.1366 0.0189) |
| OKLCH | oklch(39.43% 0.138 7.9) |
| XYZ | xyz(9.6253, 5.3353, 4.2636) |
| Luminance | 0.0533 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.14
Red Wine
#8C0034
ΔE00 3.44
Wine (survey)
#80013F
ΔE00 3.98
Merlot
#730039
ΔE00 4.97
Purple Red
#990147
ΔE00 5.57
Red Purple
#820747
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1738 #177E5D
analogous
#7E176C #7E1738 #7E2A17
triadic
#7E1738 #387E17 #17387E
tetradic
#7E1738 #6C7E17 #177E5D #2A177E
square
#7E1738 #6C7E17 #177E5D #2A177E
split-complementary
#7E1738 #177E2A #176C7E
monochromatic
#1A050C #4A0E21 #7E1738 #B2204F #DA356A
Accessibility & contrast
On white
10.16
#7E1738 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7E1738 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1738
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1738 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1738 | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333439
Deuteranopia (green-blind)
#4D4935
Tritanopia (blue-blind)
#8A0025
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1738; /* rgb */ color: rgb(126, 23, 56); /* oklch */ color: oklch(39.4% 0.138 7.9);
Tailwind
colors: {
custom: {
50: '#a9606e',
500: '#7e1738',
950: '#000000',
},
}SCSS
$custom: #7e1738; $custom-light: #a9606e; $custom-dark: #000000;
JSON
{
"hex": "#7e1738",
"rgb": {
"r": 126,
"g": 23,
"b": 56
},
"hsl": {
"h": 340.777,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.39427,
"c": 0.13785,
"h": 7.9
},
"luminance": 0.05334
}Semantic roles & 50–950 ramp
primary
#7E1738
secondary
#3EB38D
accent
#ECB43C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A