#7E2A40#7E2A40
#7E2A40 is a dark, moderate pink. Relative luminance 0.065; OKLCH L 41.6% C 0.117 H 7.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2A40 |
|---|---|
| RGB | rgb(126, 42, 64) |
| HSL | hsl(344, 50%, 33%) |
| HSV | hsv(344, 67%, 49%) |
| CMYK | cmyk(0%, 66.7%, 49.2%, 50.6%) |
| CIE-LAB | lab(30.55, 38.18, 6.10) |
| CIE-LCH | lch(30.55, 38.66, 9.08°) |
| OKLab | oklab(41.63% 0.1161 0.0159) |
| OKLCH | oklch(41.63% 0.117 7.8) |
| XYZ | xyz(10.3584, 6.4630, 5.5515) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine
#722F37
ΔE00 4.42
Red Wine
#8C0034
ΔE00 5.55
Wine (survey)
#80013F
ΔE00 5.95
Bordeaux
#7B002C
ΔE00 5.96
Berry
#990F4B
ΔE00 6.35
Purple Red
#990147
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2A40 #2A7E68
analogous
#7E2A6A #7E2A40 #7E3E2A
triadic
#7E2A40 #407E2A #2A407E
tetradic
#7E2A40 #6A7E2A #2A7E68 #3E2A7E
square
#7E2A40 #6A7E2A #2A7E68 #3E2A7E
split-complementary
#7E2A40 #2A7E3E #2A6A7E
monochromatic
#220B11 #501B29 #7E2A40 #AC3957 #C85A77
Accessibility & contrast
On white
9.16
#7E2A40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#7E2A40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2A40
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2A40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2A40 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3D40
Deuteranopia (green-blind)
#524E3E
Tritanopia (blue-blind)
#891E33
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7e2a40; /* rgb */ color: rgb(126, 42, 64); /* oklch */ color: oklch(41.6% 0.117 7.8);
Tailwind
colors: {
custom: {
50: '#a86974',
500: '#7e2a40',
950: '#000000',
},
}SCSS
$custom: #7e2a40; $custom-light: #a86974; $custom-dark: #000000;
JSON
{
"hex": "#7e2a40",
"rgb": {
"r": 126,
"g": 42,
"b": 64
},
"hsl": {
"h": 344.286,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.41633,
"c": 0.11722,
"h": 7.8
},
"luminance": 0.06462
}Semantic roles & 50–950 ramp
primary
#7E2A40
secondary
#56AE97
accent
#DAB54E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B