#7E2B4F#7E2B4F
#7E2B4F is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.3% C 0.121 H 356.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2B4F |
|---|---|
| RGB | rgb(126, 43, 79) |
| HSL | hsl(334, 49%, 33%) |
| HSV | hsv(334, 66%, 49%) |
| CMYK | cmyk(0%, 65.9%, 37.3%, 50.6%) |
| CIE-LAB | lab(31.18, 39.40, -2.84) |
| CIE-LCH | lch(31.18, 39.50, 355.88°) |
| OKLab | oklab(42.25% 0.1204 -0.007) |
| OKLCH | oklch(42.25% 0.121 356.7) |
| XYZ | xyz(10.8800, 6.7291, 8.1215) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 4.64
Reddish Purple
#910951
ΔE00 5.04
Mulberry
#920A4E
ΔE00 5.10
Wine (survey)
#80013F
ΔE00 5.55
Dark Magenta
#960056
ΔE00 5.96
Berry
#990F4B
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2B4F #2B7E5A
analogous
#7E2B78 #7E2B4F #7E312B
triadic
#7E2B4F #4F7E2B #2B4F7E
tetradic
#7E2B4F #787E2B #2B7E5A #312B7E
square
#7E2B4F #787E2B #2B7E5A #312B7E
split-complementary
#7E2B4F #2B7E31 #2B787E
monochromatic
#230C16 #501B32 #7E2B4F #AC3B6C #C75C8B
Accessibility & contrast
On white
8.95
#7E2B4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#7E2B4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2B4F
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2B4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2B4F | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394050
Deuteranopia (green-blind)
#504F4D
Tritanopia (blue-blind)
#882439
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7e2b4f; /* rgb */ color: rgb(126, 43, 79); /* oklch */ color: oklch(42.3% 0.121 356.7);
Tailwind
colors: {
custom: {
50: '#a76a80',
500: '#7e2b4f',
950: '#000000',
},
}SCSS
$custom: #7e2b4f; $custom-light: #a76a80; $custom-dark: #000000;
JSON
{
"hex": "#7e2b4f",
"rgb": {
"r": 126,
"g": 43,
"b": 79
},
"hsl": {
"h": 333.976,
"s": 49.112,
"l": 33.137
},
"oklch": {
"l": 0.42252,
"c": 0.12058,
"h": 356.7
},
"luminance": 0.06728
}Semantic roles & 50–950 ramp
primary
#7E2B4F
secondary
#58AD88
accent
#D99D4F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C