#7E1A38#7E1A38
#7E1A38 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.7% C 0.135 H 8.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1A38 |
|---|---|
| RGB | rgb(126, 26, 56) |
| HSL | hsl(342, 66%, 30%) |
| HSV | hsv(342, 79%, 49%) |
| CMYK | cmyk(0%, 79.4%, 55.6%, 50.6%) |
| CIE-LAB | lab(28.01, 43.86, 7.85) |
| CIE-LCH | lch(28.01, 44.56, 10.15°) |
| OKLab | oklab(39.68% 0.1334 0.0201) |
| OKLCH | oklch(39.68% 0.135 8.5) |
| XYZ | xyz(9.6883, 5.4613, 4.2846) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.23
Red Wine
#8C0034
ΔE00 3.44
Wine (survey)
#80013F
ΔE00 4.46
Merlot
#730039
ΔE00 5.43
Wine
#722F37
ΔE00 5.68
Purple Red
#990147
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1A38 #1A7E60
analogous
#7E1A6A #7E1A38 #7E2E1A
triadic
#7E1A38 #387E1A #1A387E
tetradic
#7E1A38 #6A7E1A #1A7E60 #2E1A7E
square
#7E1A38 #6A7E1A #1A7E60 #2E1A7E
split-complementary
#7E1A38 #1A7E2E #1A6A7E
monochromatic
#19050B #4B1021 #7E1A38 #B1244F #D73C6A
Accessibility & contrast
On white
10.04
#7E1A38 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7E1A38 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1A38
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1A38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1A38 | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343539
Deuteranopia (green-blind)
#4E4936
Tritanopia (blue-blind)
#8A0027
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1a38; /* rgb */ color: rgb(126, 26, 56); /* oklch */ color: oklch(39.7% 0.135 8.5);
Tailwind
colors: {
custom: {
50: '#a9616e',
500: '#7e1a38',
950: '#000000',
},
}SCSS
$custom: #7e1a38; $custom-light: #a9616e; $custom-dark: #000000;
JSON
{
"hex": "#7e1a38",
"rgb": {
"r": 126,
"g": 26,
"b": 56
},
"hsl": {
"h": 342,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.39679,
"c": 0.13494,
"h": 8.5
},
"luminance": 0.0546
}Semantic roles & 50–950 ramp
primary
#7E1A38
secondary
#42B290
accent
#E9B63F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A