#7E1940#7E1940
#7E1940 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.138 H 3.0°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1940 |
|---|---|
| RGB | rgb(126, 25, 64) |
| HSL | hsl(337, 67%, 30%) |
| HSV | hsv(337, 80%, 49%) |
| CMYK | cmyk(0%, 80.2%, 49.2%, 50.6%) |
| CIE-LAB | lab(28.12, 44.90, 2.63) |
| CIE-LCH | lch(28.12, 44.98, 3.35°) |
| OKLab | oklab(39.83% 0.1377 0.0072) |
| OKLCH | oklch(39.83% 0.138 3) |
| XYZ | xyz(9.8781, 5.5024, 5.3914) |
| Luminance | 0.0550 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.29
Red Purple
#820747
ΔE00 3.28
Merlot
#730039
ΔE00 3.71
Mulberry
#920A4E
ΔE00 4.53
Reddish Purple
#910951
ΔE00 5.04
Purple Red
#990147
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1940 #197E57
analogous
#7E1972 #7E1940 #7E2519
triadic
#7E1940 #407E19 #19407E
tetradic
#7E1940 #727E19 #197E57 #25197E
square
#7E1940 #727E19 #197E57 #25197E
split-complementary
#7E1940 #197E25 #19727E
monochromatic
#1A050D #4B0F26 #7E1940 #B1235A #D83A77
Accessibility & contrast
On white
10.00
#7E1940 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7E1940 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1940
10.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1940 | 1.00 | 10.00 | 2.10 | 10.00 |
| #FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323641
Deuteranopia (green-blind)
#4D493E
Tritanopia (blue-blind)
#89012A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1940; /* rgb */ color: rgb(126, 25, 64); /* oklch */ color: oklch(39.8% 0.138 3.0);
Tailwind
colors: {
custom: {
50: '#a86174',
500: '#7e1940',
950: '#000000',
},
}SCSS
$custom: #7e1940; $custom-light: #a86174; $custom-dark: #000000;
JSON
{
"hex": "#7e1940",
"rgb": {
"r": 126,
"g": 25,
"b": 64
},
"hsl": {
"h": 336.832,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.39834,
"c": 0.13785,
"h": 3
},
"luminance": 0.05501
}Semantic roles & 50–950 ramp
primary
#7E1940
secondary
#41B286
accent
#EAA73E
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B