#7E2A42#7E2A42
#7E2A42 is a dark, moderate pink. Relative luminance 0.065; OKLCH L 41.7% C 0.118 H 6.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2A42 |
|---|---|
| RGB | rgb(126, 42, 66) |
| HSL | hsl(343, 50%, 33%) |
| HSV | hsv(343, 67%, 49%) |
| CMYK | cmyk(0%, 66.7%, 47.6%, 50.6%) |
| CIE-LAB | lab(30.61, 38.38, 4.86) |
| CIE-LCH | lch(30.61, 38.69, 7.22°) |
| OKLab | oklab(41.69% 0.117 0.0128) |
| OKLCH | oklch(41.69% 0.118 6.3) |
| XYZ | xyz(10.4163, 6.4862, 5.8566) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine
#722F37
ΔE00 4.99
Wine (survey)
#80013F
ΔE00 5.57
Red Wine
#8C0034
ΔE00 5.86
Berry
#990F4B
ΔE00 6.06
Purple Red
#990147
ΔE00 6.22
Red Purple
#820747
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2A42 #2A7E66
analogous
#7E2A6C #7E2A42 #7E3C2A
triadic
#7E2A42 #427E2A #2A427E
tetradic
#7E2A42 #6C7E2A #2A7E66 #3C2A7E
square
#7E2A42 #6C7E2A #2A7E66 #3C2A7E
split-complementary
#7E2A42 #2A7E3C #2A6C7E
monochromatic
#220B12 #501B2A #7E2A42 #AC395A #C85A7A
Accessibility & contrast
On white
9.14
#7E2A42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#7E2A42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2A42
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2A42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2A42 | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3E43
Deuteranopia (green-blind)
#524E40
Tritanopia (blue-blind)
#891E33
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7e2a42; /* rgb */ color: rgb(126, 42, 66); /* oklch */ color: oklch(41.7% 0.118 6.3);
Tailwind
colors: {
custom: {
50: '#a86976',
500: '#7e2a42',
950: '#000000',
},
}SCSS
$custom: #7e2a42; $custom-light: #a86976; $custom-dark: #000000;
JSON
{
"hex": "#7e2a42",
"rgb": {
"r": 126,
"g": 42,
"b": 66
},
"hsl": {
"h": 342.857,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.41693,
"c": 0.11765,
"h": 6.3
},
"luminance": 0.06485
}Semantic roles & 50–950 ramp
primary
#7E2A42
secondary
#56AE95
accent
#DAB24E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100708
muted
#7F7A7B