#7E2E4D#7E2E4D
#7E2E4D is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.6% C 0.115 H 359.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2E4D |
|---|---|
| RGB | rgb(126, 46, 77) |
| HSL | hsl(337, 47%, 34%) |
| HSV | hsv(337, 63%, 49%) |
| CMYK | cmyk(0%, 63.5%, 38.9%, 50.6%) |
| CIE-LAB | lab(31.64, 37.74, -0.86) |
| CIE-LCH | lch(31.64, 37.75, 358.69°) |
| OKLab | oklab(42.57% 0.1152 -0.0018) |
| OKLCH | oklch(42.57% 0.115 359.1) |
| XYZ | xyz(10.9214, 6.9266, 7.7816) |
| Luminance | 0.0693 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 5.38
Mulberry
#920A4E
ΔE00 5.59
Reddish Purple
#910951
ΔE00 5.74
Wine (survey)
#80013F
ΔE00 5.89
Berry
#990F4B
ΔE00 6.25
Brownish Purple
#76424E
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2E4D #2E7E5F
analogous
#7E2E75 #7E2E4D #7E372E
triadic
#7E2E4D #4D7E2E #2E4D7E
tetradic
#7E2E4D #757E2E #2E7E5F #372E7E
square
#7E2E4D #757E2E #2E7E5F #372E7E
split-complementary
#7E2E4D #2E7E37 #2E757E
monochromatic
#240D16 #511E32 #7E2E4D #AB3E68 #C56188
Accessibility & contrast
On white
8.81
#7E2E4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#7E2E4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2E4D
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2E4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2E4D | 1.00 | 8.81 | 2.39 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C414E
Deuteranopia (green-blind)
#51504B
Tritanopia (blue-blind)
#88273A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7e2e4d; /* rgb */ color: rgb(126, 46, 77); /* oklch */ color: oklch(42.6% 0.115 359.1);
Tailwind
colors: {
custom: {
50: '#a76b7e',
500: '#7e2e4d',
950: '#000000',
},
}SCSS
$custom: #7e2e4d; $custom-light: #a76b7e; $custom-dark: #000000;
JSON
{
"hex": "#7e2e4d",
"rgb": {
"r": 126,
"g": 46,
"b": 77
},
"hsl": {
"h": 336.75,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.4257,
"c": 0.11523,
"h": 359.1
},
"luminance": 0.06925
}Semantic roles & 50–950 ramp
primary
#7E2E4D
secondary
#5CAC8D
accent
#D6A352
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C