#7E2240#7E2240
#7E2240 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.128 H 5.1°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2240 |
|---|---|
| RGB | rgb(126, 34, 64) |
| HSL | hsl(340, 58%, 31%) |
| HSV | hsv(340, 73%, 49%) |
| CMYK | cmyk(0%, 73%, 49.2%, 50.6%) |
| CIE-LAB | lab(29.29, 41.63, 4.30) |
| CIE-LCH | lch(29.29, 41.86, 5.90°) |
| OKLab | oklab(40.7% 0.1272 0.0114) |
| OKLCH | oklch(40.7% 0.128 5.1) |
| XYZ | xyz(10.1024, 5.9512, 5.4662) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 4.00
Red Purple
#820747
ΔE00 4.88
Red Wine
#8C0034
ΔE00 5.15
Merlot
#730039
ΔE00 5.19
Bordeaux
#7B002C
ΔE00 5.38
Berry
#990F4B
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2240 #227E60
analogous
#7E226E #7E2240 #7E3222
triadic
#7E2240 #407E22 #22407E
tetradic
#7E2240 #6E7E22 #227E60 #32227E
square
#7E2240 #6E7E22 #227E60 #32227E
split-complementary
#7E2240 #227E32 #226E7E
monochromatic
#1E080F #4E1528 #7E2240 #AE2F58 #CF4C76
Accessibility & contrast
On white
9.59
#7E2240 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7E2240 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2240
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2240 | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373941
Deuteranopia (green-blind)
#4F4C3E
Tritanopia (blue-blind)
#89122E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e2240; /* rgb */ color: rgb(126, 34, 64); /* oklch */ color: oklch(40.7% 0.128 5.1);
Tailwind
colors: {
custom: {
50: '#a86574',
500: '#7e2240',
950: '#000000',
},
}SCSS
$custom: #7e2240; $custom-light: #a86574; $custom-dark: #000000;
JSON
{
"hex": "#7e2240",
"rgb": {
"r": 126,
"g": 34,
"b": 64
},
"hsl": {
"h": 340.435,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.40695,
"c": 0.12768,
"h": 5.1
},
"luminance": 0.0595
}Semantic roles & 50–950 ramp
primary
#7E2240
secondary
#4BB190
accent
#E1AF47
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B