#7E1040#7E1040
#7E1040 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.146 H 1.6°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1040 |
|---|---|
| RGB | rgb(126, 16, 64) |
| HSL | hsl(334, 77%, 28%) |
| HSV | hsv(334, 87%, 49%) |
| CMYK | cmyk(0%, 87.3%, 49.2%, 50.6%) |
| CIE-LAB | lab(27.24, 47.43, 1.35) |
| CIE-LCH | lch(27.24, 47.45, 1.63°) |
| OKLab | oklab(39.18% 0.1458 0.004) |
| OKLCH | oklch(39.18% 0.146 1.6) |
| XYZ | xyz(9.7157, 5.1777, 5.3373) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.11
Red Purple
#820747
ΔE00 2.26
Merlot
#730039
ΔE00 2.80
Mulberry
#920A4E
ΔE00 4.21
Reddish Purple
#910951
ΔE00 4.57
Purple Red
#990147
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1040 #107E4E
analogous
#7E1077 #7E1040 #7E1710
triadic
#7E1040 #407E10 #10407E
tetradic
#7E1040 #777E10 #107E4E #17107E
square
#7E1040 #777E10 #107E4E #17107E
split-complementary
#7E1040 #107E17 #10777E
monochromatic
#1B030E #480924 #7E1040 #B4175C #E32578
Accessibility & contrast
On white
10.32
#7E1040 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E1040 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1040
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1040 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1040 | 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)
#2D3341
Deuteranopia (green-blind)
#4A483E
Tritanopia (blue-blind)
#8A0027
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1040; /* rgb */ color: rgb(126, 16, 64); /* oklch */ color: oklch(39.2% 0.146 1.6);
Tailwind
colors: {
custom: {
50: '#a95e74',
500: '#7e1040',
950: '#000000',
},
}SCSS
$custom: #7e1040; $custom-light: #a95e74; $custom-dark: #000000;
JSON
{
"hex": "#7e1040",
"rgb": {
"r": 126,
"g": 16,
"b": 64
},
"hsl": {
"h": 333.818,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.39185,
"c": 0.14585,
"h": 1.6
},
"luminance": 0.05176
}Semantic roles & 50–950 ramp
primary
#7E1040
secondary
#36B47D
accent
#F4A034
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B