#7E2E4E#7E2E4E
#7E2E4E is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.6% C 0.116 H 358.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2E4E |
|---|---|
| RGB | rgb(126, 46, 78) |
| HSL | hsl(336, 47%, 34%) |
| HSV | hsv(336, 63%, 49%) |
| CMYK | cmyk(0%, 63.5%, 38.1%, 50.6%) |
| CIE-LAB | lab(31.67, 37.86, -1.47) |
| CIE-LCH | lch(31.67, 37.89, 357.78°) |
| OKLab | oklab(42.61% 0.1156 -0.0034) |
| OKLCH | oklch(42.61% 0.116 358.3) |
| XYZ | xyz(10.9570, 6.9409, 7.9689) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 5.32
Mulberry
#920A4E
ΔE00 5.55
Reddish Purple
#910951
ΔE00 5.64
Wine (survey)
#80013F
ΔE00 5.94
Berry
#990F4B
ΔE00 6.33
Dark Magenta
#960056
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2E4E #2E7E5E
analogous
#7E2E76 #7E2E4E #7E362E
triadic
#7E2E4E #4E7E2E #2E4E7E
tetradic
#7E2E4E #767E2E #2E7E5E #362E7E
square
#7E2E4E #767E2E #2E7E5E #362E7E
split-complementary
#7E2E4E #2E7E36 #2E767E
monochromatic
#240D16 #511E32 #7E2E4E #AB3E6A #C56189
Accessibility & contrast
On white
8.79
#7E2E4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#7E2E4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2E4E
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2E4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2E4E | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C414F
Deuteranopia (green-blind)
#51504C
Tritanopia (blue-blind)
#88273B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7e2e4e; /* rgb */ color: rgb(126, 46, 78); /* oklch */ color: oklch(42.6% 0.116 358.3);
Tailwind
colors: {
custom: {
50: '#a76b7f',
500: '#7e2e4e',
950: '#000000',
},
}SCSS
$custom: #7e2e4e; $custom-light: #a76b7f; $custom-dark: #000000;
JSON
{
"hex": "#7e2e4e",
"rgb": {
"r": 126,
"g": 46,
"b": 78
},
"hsl": {
"h": 336,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.42605,
"c": 0.11564,
"h": 358.3
},
"luminance": 0.0694
}Semantic roles & 50–950 ramp
primary
#7E2E4E
secondary
#5CAC8C
accent
#D6A152
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C