#7E2D4E#7E2D4E
#7E2D4E is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.5% C 0.117 H 358.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2D4E |
|---|---|
| RGB | rgb(126, 45, 78) |
| HSL | hsl(336, 47%, 34%) |
| HSV | hsv(336, 64%, 49%) |
| CMYK | cmyk(0%, 64.3%, 38.1%, 50.6%) |
| CIE-LAB | lab(31.49, 38.34, -1.73) |
| CIE-LCH | lch(31.49, 38.38, 357.42°) |
| OKLab | oklab(42.47% 0.1171 -0.004) |
| OKLCH | oklch(42.47% 0.117 358) |
| XYZ | xyz(10.9184, 6.8637, 7.9561) |
| Luminance | 0.0686 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 5.09
Mulberry
#920A4E
ΔE00 5.38
Reddish Purple
#910951
ΔE00 5.45
Wine (survey)
#80013F
ΔE00 5.77
Berry
#990F4B
ΔE00 6.26
Dark Magenta
#960056
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2D4E #2D7E5D
analogous
#7E2D76 #7E2D4E #7E352D
triadic
#7E2D4E #4E7E2D #2D4E7E
tetradic
#7E2D4E #767E2D #2D7E5D #352D7E
square
#7E2D4E #767E2D #2D7E5D #352D7E
split-complementary
#7E2D4E #2D7E35 #2D767E
monochromatic
#240D16 #511D32 #7E2D4E #AB3D6A #C65F89
Accessibility & contrast
On white
8.85
#7E2D4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#7E2D4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2D4E
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2D4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2D4E | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B414F
Deuteranopia (green-blind)
#51504C
Tritanopia (blue-blind)
#88263A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7e2d4e; /* rgb */ color: rgb(126, 45, 78); /* oklch */ color: oklch(42.5% 0.117 358.0);
Tailwind
colors: {
custom: {
50: '#a76b7f',
500: '#7e2d4e',
950: '#000000',
},
}SCSS
$custom: #7e2d4e; $custom-light: #a76b7f; $custom-dark: #000000;
JSON
{
"hex": "#7e2d4e",
"rgb": {
"r": 126,
"g": 45,
"b": 78
},
"hsl": {
"h": 335.556,
"s": 47.368,
"l": 33.529
},
"oklch": {
"l": 0.42473,
"c": 0.11716,
"h": 358
},
"luminance": 0.06862
}Semantic roles & 50–950 ramp
primary
#7E2D4E
secondary
#5AAC8B
accent
#D7A051
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C