#7E2F4D#7E2F4D
#7E2F4D is a dark, moderate pink. Relative luminance 0.070; OKLCH L 42.7% C 0.114 H 359.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2F4D |
|---|---|
| RGB | rgb(126, 47, 77) |
| HSL | hsl(337, 46%, 34%) |
| HSV | hsv(337, 63%, 49%) |
| CMYK | cmyk(0%, 62.7%, 38.9%, 50.6%) |
| CIE-LAB | lab(31.82, 37.25, -0.60) |
| CIE-LCH | lch(31.82, 37.26, 359.08°) |
| OKLab | oklab(42.7% 0.1137 -0.0011) |
| OKLCH | oklch(42.7% 0.114 359.4) |
| XYZ | xyz(10.9609, 7.0057, 7.7947) |
| Luminance | 0.0700 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 5.62
Mulberry
#920A4E
ΔE00 5.77
Reddish Purple
#910951
ΔE00 5.95
Wine (survey)
#80013F
ΔE00 6.09
Berry
#990F4B
ΔE00 6.34
Brownish Purple
#76424E
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2F4D #2F7E60
analogous
#7E2F75 #7E2F4D #7E392F
triadic
#7E2F4D #4D7E2F #2F4D7E
tetradic
#7E2F4D #757E2F #2F7E60 #392F7E
square
#7E2F4D #757E2F #2F7E60 #392F7E
split-complementary
#7E2F4D #2F7E39 #2F757E
monochromatic
#250E17 #511E32 #7E2F4D #AB4068 #C56388
Accessibility & contrast
On white
8.75
#7E2F4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#7E2F4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2F4D
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2F4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2F4D | 1.00 | 8.75 | 2.40 | 8.75 |
| #FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D414E
Deuteranopia (green-blind)
#52504B
Tritanopia (blue-blind)
#88283B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7e2f4d; /* rgb */ color: rgb(126, 47, 77); /* oklch */ color: oklch(42.7% 0.114 359.4);
Tailwind
colors: {
custom: {
50: '#a76c7e',
500: '#7e2f4d',
950: '#000000',
},
}SCSS
$custom: #7e2f4d; $custom-light: #a76c7e; $custom-dark: #000000;
JSON
{
"hex": "#7e2f4d",
"rgb": {
"r": 126,
"g": 47,
"b": 77
},
"hsl": {
"h": 337.215,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.42704,
"c": 0.11371,
"h": 359.4
},
"luminance": 0.07004
}Semantic roles & 50–950 ramp
primary
#7E2F4D
secondary
#5DAC8E
accent
#D5A452
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C