#7E2640#7E2640
#7E2640 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.1% C 0.123 H 6.4°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2640 |
|---|---|
| RGB | rgb(126, 38, 64) |
| HSL | hsl(342, 54%, 32%) |
| HSV | hsv(342, 70%, 49%) |
| CMYK | cmyk(0%, 69.8%, 49.2%, 50.6%) |
| CIE-LAB | lab(29.89, 39.97, 5.17) |
| CIE-LCH | lch(29.89, 40.30, 7.37°) |
| OKLab | oklab(41.15% 0.1218 0.0136) |
| OKLCH | oklch(41.15% 0.123 6.4) |
| XYZ | xyz(10.2235, 6.1933, 5.5066) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 4.92
Wine
#722F37
ΔE00 5.23
Red Wine
#8C0034
ΔE00 5.26
Bordeaux
#7B002C
ΔE00 5.58
Red Purple
#820747
ΔE00 5.78
Berry
#990F4B
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2640 #267E64
analogous
#7E266C #7E2640 #7E3826
triadic
#7E2640 #407E26 #26407E
tetradic
#7E2640 #6C7E26 #267E64 #38267E
square
#7E2640 #6C7E26 #267E64 #38267E
split-complementary
#7E2640 #267E38 #266C7E
monochromatic
#200A10 #4F1828 #7E2640 #AD3458 #CB5377
Accessibility & contrast
On white
9.38
#7E2640 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#7E2640 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2640
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2640 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2640 | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3B41
Deuteranopia (green-blind)
#514D3E
Tritanopia (blue-blind)
#891830
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e2640; /* rgb */ color: rgb(126, 38, 64); /* oklch */ color: oklch(41.1% 0.123 6.4);
Tailwind
colors: {
custom: {
50: '#a86774',
500: '#7e2640',
950: '#000000',
},
}SCSS
$custom: #7e2640; $custom-light: #a86774; $custom-dark: #000000;
JSON
{
"hex": "#7e2640",
"rgb": {
"r": 126,
"g": 38,
"b": 64
},
"hsl": {
"h": 342.273,
"s": 53.659,
"l": 32.157
},
"oklch": {
"l": 0.41145,
"c": 0.12258,
"h": 6.4
},
"luminance": 0.06192
}Semantic roles & 50–950 ramp
primary
#7E2640
secondary
#50B093
accent
#DDB24B
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B