#7E2E4B#7E2E4B
#7E2E4B is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.5% C 0.114 H 0.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2E4B |
|---|---|
| RGB | rgb(126, 46, 75) |
| HSL | hsl(338, 47%, 34%) |
| HSV | hsv(338, 63%, 49%) |
| CMYK | cmyk(0%, 63.5%, 40.5%, 50.6%) |
| CIE-LAB | lab(31.58, 37.50, 0.35) |
| CIE-LCH | lch(31.58, 37.50, 0.54°) |
| OKLab | oklab(42.5% 0.1145 0.0014) |
| OKLCH | oklch(42.5% 0.114 0.7) |
| XYZ | xyz(10.8519, 6.8988, 7.4154) |
| Luminance | 0.0690 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 5.56
Mulberry
#920A4E
ΔE00 5.73
Wine (survey)
#80013F
ΔE00 5.83
Reddish Purple
#910951
ΔE00 6.00
Berry
#990F4B
ΔE00 6.15
Brownish Purple
#76424E
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2E4B #2E7E61
analogous
#7E2E73 #7E2E4B #7E392E
triadic
#7E2E4B #4B7E2E #2E4B7E
tetradic
#7E2E4B #737E2E #2E7E61 #392E7E
square
#7E2E4B #737E2E #2E7E61 #392E7E
split-complementary
#7E2E4B #2E7E39 #2E737E
monochromatic
#240D16 #511E30 #7E2E4B #AB3E66 #C56185
Accessibility & contrast
On white
8.83
#7E2E4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#7E2E4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2E4B
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2E4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2E4B | 1.00 | 8.83 | 2.38 | 8.83 |
| #FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D414C
Deuteranopia (green-blind)
#525049
Tritanopia (blue-blind)
#882639
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7e2e4b; /* rgb */ color: rgb(126, 46, 75); /* oklch */ color: oklch(42.5% 0.114 0.7);
Tailwind
colors: {
custom: {
50: '#a76b7d',
500: '#7e2e4b',
950: '#000000',
},
}SCSS
$custom: #7e2e4b; $custom-light: #a76b7d; $custom-dark: #000000;
JSON
{
"hex": "#7e2e4b",
"rgb": {
"r": 126,
"g": 46,
"b": 75
},
"hsl": {
"h": 338.25,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.42502,
"c": 0.11449,
"h": 0.7
},
"luminance": 0.06898
}Semantic roles & 50–950 ramp
primary
#7E2E4B
secondary
#5CAC8F
accent
#D6A652
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100709
muted
#7F7A7B