#7E1137#7E1137
#7E1137 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.143 H 7.4°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1137 |
|---|---|
| RGB | rgb(126, 17, 55) |
| HSL | hsl(339, 76%, 28%) |
| HSV | hsv(339, 87%, 49%) |
| CMYK | cmyk(0%, 86.5%, 56.3%, 50.6%) |
| CIE-LAB | lab(27.06, 46.41, 7.20) |
| CIE-LCH | lch(27.06, 46.97, 8.81°) |
| OKLab | oklab(38.97% 0.1416 0.0184) |
| OKLCH | oklch(38.97% 0.143 7.4) |
| XYZ | xyz(9.4951, 5.1138, 4.1008) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.87
Red Wine
#8C0034
ΔE00 3.38
Wine (survey)
#80013F
ΔE00 3.53
Merlot
#730039
ΔE00 4.49
Red Purple
#820747
ΔE00 5.32
Purple Red
#990147
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1137 #117E58
analogous
#7E116D #7E1137 #7E2211
triadic
#7E1137 #377E11 #11377E
tetradic
#7E1137 #6D7E11 #117E58 #22117E
square
#7E1137 #6D7E11 #117E58 #22117E
split-complementary
#7E1137 #117E22 #116D7E
monochromatic
#1B040C #480A1F #7E1137 #B4184F #E22768
Accessibility & contrast
On white
10.38
#7E1137 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7E1137 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1137
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1137 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1137 | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303238
Deuteranopia (green-blind)
#4C4834
Tritanopia (blue-blind)
#8A0023
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1137; /* rgb */ color: rgb(126, 17, 55); /* oklch */ color: oklch(39.0% 0.143 7.4);
Tailwind
colors: {
custom: {
50: '#a95e6d',
500: '#7e1137',
950: '#000000',
},
}SCSS
$custom: #7e1137; $custom-light: #a95e6d; $custom-dark: #000000;
JSON
{
"hex": "#7e1137",
"rgb": {
"r": 126,
"g": 17,
"b": 55
},
"hsl": {
"h": 339.083,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.38968,
"c": 0.14274,
"h": 7.4
},
"luminance": 0.05112
}Semantic roles & 50–950 ramp
primary
#7E1137
secondary
#37B488
accent
#F3B135
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A