#7E1340#7E1340
#7E1340 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.143 H 2.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1340 |
|---|---|
| RGB | rgb(126, 19, 64) |
| HSL | hsl(335, 74%, 28%) |
| HSV | hsv(335, 85%, 49%) |
| CMYK | cmyk(0%, 84.9%, 49.2%, 50.6%) |
| CIE-LAB | lab(27.50, 46.67, 1.73) |
| CIE-LCH | lch(27.50, 46.70, 2.12°) |
| OKLab | oklab(39.38% 0.1434 0.0049) |
| OKLCH | oklch(39.38% 0.143 2) |
| XYZ | xyz(9.7633, 5.2729, 5.3532) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.44
Red Purple
#820747
ΔE00 2.54
Merlot
#730039
ΔE00 3.04
Mulberry
#920A4E
ΔE00 4.27
Reddish Purple
#910951
ΔE00 4.68
Purple Red
#990147
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1340 #137E51
analogous
#7E1375 #7E1340 #7E1B13
triadic
#7E1340 #407E13 #13407E
tetradic
#7E1340 #757E13 #137E51 #1B137E
square
#7E1340 #757E13 #137E51 #1B137E
split-complementary
#7E1340 #137E1B #13757E
monochromatic
#1B040E #490B25 #7E1340 #B31B5B #DF2C77
Accessibility & contrast
On white
10.22
#7E1340 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7E1340 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1340
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1340 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1340 | 1.00 | 10.22 | 2.05 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3441
Deuteranopia (green-blind)
#4B483E
Tritanopia (blue-blind)
#8A0028
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1340; /* rgb */ color: rgb(126, 19, 64); /* oklch */ color: oklch(39.4% 0.143 2.0);
Tailwind
colors: {
custom: {
50: '#a95f74',
500: '#7e1340',
950: '#000000',
},
}SCSS
$custom: #7e1340; $custom-light: #a95f74; $custom-dark: #000000;
JSON
{
"hex": "#7e1340",
"rgb": {
"r": 126,
"g": 19,
"b": 64
},
"hsl": {
"h": 334.766,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.39377,
"c": 0.14344,
"h": 2
},
"luminance": 0.05272
}Semantic roles & 50–950 ramp
primary
#7E1340
secondary
#39B480
accent
#F0A337
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110508
muted
#80797B