#7E1640#7E1640
#7E1640 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.141 H 2.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1640 |
|---|---|
| RGB | rgb(126, 22, 64) |
| HSL | hsl(336, 70%, 29%) |
| HSV | hsv(336, 83%, 49%) |
| CMYK | cmyk(0%, 82.5%, 49.2%, 50.6%) |
| CIE-LAB | lab(27.79, 45.83, 2.16) |
| CIE-LCH | lch(27.79, 45.88, 2.69°) |
| OKLab | oklab(39.59% 0.1406 0.006) |
| OKLCH | oklch(39.59% 0.141 2.4) |
| XYZ | xyz(9.8173, 5.3810, 5.3712) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.84
Red Purple
#820747
ΔE00 2.88
Merlot
#730039
ΔE00 3.34
Mulberry
#920A4E
ΔE00 4.37
Reddish Purple
#910951
ΔE00 4.83
Purple Red
#990147
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1640 #167E54
analogous
#7E1674 #7E1640 #7E2016
triadic
#7E1640 #407E16 #16407E
tetradic
#7E1640 #747E16 #167E54 #20167E
square
#7E1640 #747E16 #167E54 #20167E
split-complementary
#7E1640 #167E20 #16747E
monochromatic
#1A050D #4A0D26 #7E1640 #B21F5A #DB3377
Accessibility & contrast
On white
10.12
#7E1640 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7E1640 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1640
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1640 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1640 | 1.00 | 10.12 | 2.08 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303541
Deuteranopia (green-blind)
#4C493E
Tritanopia (blue-blind)
#8A0029
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1640; /* rgb */ color: rgb(126, 22, 64); /* oklch */ color: oklch(39.6% 0.141 2.4);
Tailwind
colors: {
custom: {
50: '#a96074',
500: '#7e1640',
950: '#000000',
},
}SCSS
$custom: #7e1640; $custom-light: #a96074; $custom-dark: #000000;
JSON
{
"hex": "#7e1640",
"rgb": {
"r": 126,
"g": 22,
"b": 64
},
"hsl": {
"h": 335.769,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.39594,
"c": 0.14077,
"h": 2.4
},
"luminance": 0.0538
}Semantic roles & 50–950 ramp
primary
#7E1640
secondary
#3DB383
accent
#EDA53B
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B