#7E1642#7E1642
#7E1642 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.141 H 1.1°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1642 |
|---|---|
| RGB | rgb(126, 22, 66) |
| HSL | hsl(335, 70%, 29%) |
| HSV | hsv(335, 83%, 49%) |
| CMYK | cmyk(0%, 82.5%, 47.6%, 50.6%) |
| CIE-LAB | lab(27.86, 46.02, 0.90) |
| CIE-LCH | lch(27.86, 46.03, 1.12°) |
| OKLab | oklab(39.66% 0.1414 0.0028) |
| OKLCH | oklch(39.66% 0.141 1.1) |
| XYZ | xyz(9.8753, 5.4041, 5.6763) |
| Luminance | 0.0540 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.73
Red Purple
#820747
ΔE00 2.31
Merlot
#730039
ΔE00 3.26
Mulberry
#920A4E
ΔE00 4.07
Reddish Purple
#910951
ΔE00 4.41
Purple Red
#990147
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1642 #167E52
analogous
#7E1676 #7E1642 #7E1E16
triadic
#7E1642 #427E16 #16427E
tetradic
#7E1642 #767E16 #167E52 #1E167E
square
#7E1642 #767E16 #167E52 #1E167E
split-complementary
#7E1642 #167E1E #16767E
monochromatic
#1A050E #4A0D27 #7E1642 #B21F5D #DB337A
Accessibility & contrast
On white
10.09
#7E1642 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7E1642 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1642
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1642 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1642 | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303543
Deuteranopia (green-blind)
#4B4940
Tritanopia (blue-blind)
#89002A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1642; /* rgb */ color: rgb(126, 22, 66); /* oklch */ color: oklch(39.7% 0.141 1.1);
Tailwind
colors: {
custom: {
50: '#a86076',
500: '#7e1642',
950: '#000000',
},
}SCSS
$custom: #7e1642; $custom-light: #a86076; $custom-dark: #000000;
JSON
{
"hex": "#7e1642",
"rgb": {
"r": 126,
"g": 22,
"b": 66
},
"hsl": {
"h": 334.615,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.3966,
"c": 0.14141,
"h": 1.1
},
"luminance": 0.05403
}Semantic roles & 50–950 ramp
primary
#7E1642
secondary
#3DB381
accent
#EDA23B
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B