#7E2D45#7E2D45
#7E2D45 is a dark, moderate pink. Relative luminance 0.067; OKLCH L 42.2% C 0.114 H 5.1°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2D45 |
|---|---|
| RGB | rgb(126, 45, 69) |
| HSL | hsl(342, 47%, 34%) |
| HSV | hsv(342, 64%, 49%) |
| CMYK | cmyk(0%, 64.3%, 45.2%, 50.6%) |
| CIE-LAB | lab(31.22, 37.29, 3.76) |
| CIE-LCH | lch(31.22, 37.48, 5.76°) |
| OKLab | oklab(42.17% 0.1137 0.0101) |
| OKLCH | oklch(42.17% 0.114 5.1) |
| XYZ | xyz(10.6175, 6.7433, 6.3715) |
| Luminance | 0.0674 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine
#722F37
ΔE00 5.32
Wine (survey)
#80013F
ΔE00 5.93
Berry
#990F4B
ΔE00 6.18
Brownish Purple
#76424E
ΔE00 6.29
Red Purple
#820747
ΔE00 6.32
Mulberry
#920A4E
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2D45 #2D7E66
analogous
#7E2D6D #7E2D45 #7E3D2D
triadic
#7E2D45 #457E2D #2D457E
tetradic
#7E2D45 #6D7E2D #2D7E66 #3D2D7E
square
#7E2D45 #6D7E2D #2D7E66 #3D2D7E
split-complementary
#7E2D45 #2D7E3D #2D6D7E
monochromatic
#240D14 #511D2C #7E2D45 #AB3D5E #C65F7E
Accessibility & contrast
On white
8.94
#7E2D45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#7E2D45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2D45
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2D45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2D45 | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3F46
Deuteranopia (green-blind)
#534F43
Tritanopia (blue-blind)
#892336
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7e2d45; /* rgb */ color: rgb(126, 45, 69); /* oklch */ color: oklch(42.2% 0.114 5.1);
Tailwind
colors: {
custom: {
50: '#a76b78',
500: '#7e2d45',
950: '#000000',
},
}SCSS
$custom: #7e2d45; $custom-light: #a76b78; $custom-dark: #000000;
JSON
{
"hex": "#7e2d45",
"rgb": {
"r": 126,
"g": 45,
"b": 69
},
"hsl": {
"h": 342.222,
"s": 47.368,
"l": 33.529
},
"oklch": {
"l": 0.42174,
"c": 0.11413,
"h": 5.1
},
"luminance": 0.06742
}Semantic roles & 50–950 ramp
primary
#7E2D45
secondary
#5AAC94
accent
#D7AF51
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B