#7E1440#7E1440
#7E1440 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.143 H 2.1°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1440 |
|---|---|
| RGB | rgb(126, 20, 64) |
| HSL | hsl(335, 73%, 29%) |
| HSV | hsv(335, 84%, 49%) |
| CMYK | cmyk(0%, 84.1%, 49.2%, 50.6%) |
| CIE-LAB | lab(27.59, 46.40, 1.87) |
| CIE-LCH | lch(27.59, 46.44, 2.30°) |
| OKLab | oklab(39.45% 0.1425 0.0053) |
| OKLCH | oklch(39.45% 0.143 2.1) |
| XYZ | xyz(9.7806, 5.3075, 5.3589) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.57
Red Purple
#820747
ΔE00 2.64
Merlot
#730039
ΔE00 3.14
Mulberry
#920A4E
ΔE00 4.29
Reddish Purple
#910951
ΔE00 4.72
Purple Red
#990147
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1440 #147E52
analogous
#7E1475 #7E1440 #7E1D14
triadic
#7E1440 #407E14 #14407E
tetradic
#7E1440 #757E14 #147E52 #1D147E
square
#7E1440 #757E14 #147E52 #1D147E
split-complementary
#7E1440 #147E1D #14757E
monochromatic
#1A040D #490C25 #7E1440 #B31C5B #DE2E77
Accessibility & contrast
On white
10.19
#7E1440 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7E1440 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1440
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1440 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1440 | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 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: #7e1440; /* rgb */ color: rgb(126, 20, 64); /* oklch */ color: oklch(39.4% 0.143 2.1);
Tailwind
colors: {
custom: {
50: '#a95f74',
500: '#7e1440',
950: '#000000',
},
}SCSS
$custom: #7e1440; $custom-light: #a95f74; $custom-dark: #000000;
JSON
{
"hex": "#7e1440",
"rgb": {
"r": 126,
"g": 20,
"b": 64
},
"hsl": {
"h": 335.094,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.39447,
"c": 0.14258,
"h": 2.1
},
"luminance": 0.05306
}Semantic roles & 50–950 ramp
primary
#7E1440
secondary
#3AB381
accent
#EFA338
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110508
muted
#80797B