#7E2E50#7E2E50
#7E2E50 is a dark, moderate pink. Relative luminance 0.070; OKLCH L 42.7% C 0.116 H 356.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2E50 |
|---|---|
| RGB | rgb(126, 46, 80) |
| HSL | hsl(335, 47%, 34%) |
| HSV | hsv(335, 63%, 49%) |
| CMYK | cmyk(0%, 63.5%, 36.5%, 50.6%) |
| CIE-LAB | lab(31.74, 38.11, -2.67) |
| CIE-LCH | lch(31.74, 38.21, 355.99°) |
| OKLab | oklab(42.68% 0.1163 -0.0065) |
| OKLCH | oklch(42.68% 0.116 356.8) |
| XYZ | xyz(11.0298, 6.9700, 8.3523) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 5.27
Reddish Purple
#910951
ΔE00 5.51
Mulberry
#920A4E
ΔE00 5.54
Wine (survey)
#80013F
ΔE00 6.12
Dark Magenta
#960056
ΔE00 6.38
Berry
#990F4B
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2E50 #2E7E5C
analogous
#7E2E78 #7E2E50 #7E342E
triadic
#7E2E50 #507E2E #2E507E
tetradic
#7E2E50 #787E2E #2E7E5C #342E7E
square
#7E2E50 #787E2E #2E7E5C #342E7E
split-complementary
#7E2E50 #2E7E34 #2E787E
monochromatic
#240D17 #511E34 #7E2E50 #AB3E6C #C5618C
Accessibility & contrast
On white
8.77
#7E2E50 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#7E2E50 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2E50
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2E50 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2E50 | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4151
Deuteranopia (green-blind)
#51504E
Tritanopia (blue-blind)
#88283B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7e2e50; /* rgb */ color: rgb(126, 46, 80); /* oklch */ color: oklch(42.7% 0.116 356.8);
Tailwind
colors: {
custom: {
50: '#a76b81',
500: '#7e2e50',
950: '#000000',
},
}SCSS
$custom: #7e2e50; $custom-light: #a76b81; $custom-dark: #000000;
JSON
{
"hex": "#7e2e50",
"rgb": {
"r": 126,
"g": 46,
"b": 80
},
"hsl": {
"h": 334.5,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.42676,
"c": 0.11648,
"h": 356.8
},
"luminance": 0.06969
}Semantic roles & 50–950 ramp
primary
#7E2E50
secondary
#5CAC8A
accent
#D69E52
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C