#7E1337#7E1337
#7E1337 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.141 H 7.8°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1337 |
|---|---|
| RGB | rgb(126, 19, 55) |
| HSL | hsl(340, 74%, 28%) |
| HSV | hsv(340, 85%, 49%) |
| CMYK | cmyk(0%, 84.9%, 56.3%, 50.6%) |
| CIE-LAB | lab(27.24, 45.90, 7.45) |
| CIE-LCH | lch(27.24, 46.50, 9.22°) |
| OKLab | oklab(39.1% 0.1399 0.019) |
| OKLCH | oklch(39.1% 0.141 7.8) |
| XYZ | xyz(9.5276, 5.1786, 4.1116) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.85
Red Wine
#8C0034
ΔE00 3.32
Wine (survey)
#80013F
ΔE00 3.76
Merlot
#730039
ΔE00 4.72
Red Purple
#820747
ΔE00 5.51
Purple Red
#990147
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1337 #137E5A
analogous
#7E136C #7E1337 #7E2413
triadic
#7E1337 #377E13 #13377E
tetradic
#7E1337 #6C7E13 #137E5A #24137E
square
#7E1337 #6C7E13 #137E5A #24137E
split-complementary
#7E1337 #137E24 #136C7E
monochromatic
#1B040C #490B20 #7E1337 #B31B4E #DF2C68
Accessibility & contrast
On white
10.32
#7E1337 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E1337 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1337
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1337 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1337 | 1.00 | 10.32 | 2.04 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313338
Deuteranopia (green-blind)
#4D4834
Tritanopia (blue-blind)
#8A0023
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1337; /* rgb */ color: rgb(126, 19, 55); /* oklch */ color: oklch(39.1% 0.141 7.8);
Tailwind
colors: {
custom: {
50: '#a95e6d',
500: '#7e1337',
950: '#000000',
},
}SCSS
$custom: #7e1337; $custom-light: #a95e6d; $custom-dark: #000000;
JSON
{
"hex": "#7e1337",
"rgb": {
"r": 126,
"g": 19,
"b": 55
},
"hsl": {
"h": 339.813,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.39101,
"c": 0.14116,
"h": 7.8
},
"luminance": 0.05177
}Semantic roles & 50–950 ramp
primary
#7E1337
secondary
#39B48A
accent
#F0B237
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A