#7E1038#7E1038
#7E1038 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.144 H 6.6°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1038 |
|---|---|
| RGB | rgb(126, 16, 56) |
| HSL | hsl(338, 77%, 28%) |
| HSV | hsv(338, 87%, 49%) |
| CMYK | cmyk(0%, 87.3%, 55.6%, 50.6%) |
| CIE-LAB | lab(27.00, 46.74, 6.43) |
| CIE-LCH | lch(27.00, 47.18, 7.84°) |
| OKLab | oklab(38.93% 0.1427 0.0166) |
| OKLCH | oklch(38.93% 0.144 6.6) |
| XYZ | xyz(9.5042, 5.0931, 4.2232) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.09
Bordeaux
#7B002C
ΔE00 3.19
Red Wine
#8C0034
ΔE00 3.65
Merlot
#730039
ΔE00 4.12
Red Purple
#820747
ΔE00 4.89
Purple Red
#990147
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1038 #107E56
analogous
#7E106F #7E1038 #7E1F10
triadic
#7E1038 #387E10 #10387E
tetradic
#7E1038 #6F7E10 #107E56 #1F107E
square
#7E1038 #6F7E10 #107E56 #1F107E
split-complementary
#7E1038 #107E1F #106F7E
monochromatic
#1B030C #480920 #7E1038 #B41750 #E3256A
Accessibility & contrast
On white
10.40
#7E1038 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7E1038 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1038
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1038 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1038 | 1.00 | 10.40 | 2.02 | 10.40 |
| #FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303239
Deuteranopia (green-blind)
#4C4735
Tritanopia (blue-blind)
#8A0023
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1038; /* rgb */ color: rgb(126, 16, 56); /* oklch */ color: oklch(38.9% 0.144 6.6);
Tailwind
colors: {
custom: {
50: '#a95e6e',
500: '#7e1038',
950: '#000000',
},
}SCSS
$custom: #7e1038; $custom-light: #a95e6e; $custom-dark: #000000;
JSON
{
"hex": "#7e1038",
"rgb": {
"r": 126,
"g": 16,
"b": 56
},
"hsl": {
"h": 338.182,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.38934,
"c": 0.1437,
"h": 6.6
},
"luminance": 0.05092
}Semantic roles & 50–950 ramp
primary
#7E1038
secondary
#36B486
accent
#F4AE34
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A