#7C2E4E#7C2E4E
#7C2E4E is a dark, moderate pink. Relative luminance 0.068; OKLCH L 42.3% C 0.114 H 357.6°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2E4E |
|---|---|
| RGB | rgb(124, 46, 78) |
| HSL | hsl(335, 46%, 33%) |
| HSV | hsv(335, 63%, 49%) |
| CMYK | cmyk(0%, 62.9%, 37.1%, 51.4%) |
| CIE-LAB | lab(31.32, 37.18, -2.02) |
| CIE-LCH | lch(31.32, 37.23, 356.90°) |
| OKLab | oklab(42.28% 0.1134 -0.0048) |
| OKLCH | oklch(42.28% 0.114 357.6) |
| XYZ | xyz(10.6649, 6.7903, 7.9553) |
| Luminance | 0.0679 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 5.37
Mulberry
#920A4E
ΔE00 5.83
Reddish Purple
#910951
ΔE00 5.86
Wine (survey)
#80013F
ΔE00 6.05
Berry
#990F4B
ΔE00 6.74
Dark Magenta
#960056
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2E4E #2E7C5C
analogous
#7C2E75 #7C2E4E #7C352E
triadic
#7C2E4E #4E7C2E #2E4E7C
tetradic
#7C2E4E #757C2E #2E7C5C #352E7C
square
#7C2E4E #757C2E #2E7C5C #352E7C
split-complementary
#7C2E4E #2E7C35 #2E757C
monochromatic
#230D16 #4F1D32 #7C2E4E #A93F6A #C46089
Accessibility & contrast
On white
8.91
#7C2E4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#7C2E4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2E4E
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2E4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2E4E | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B414F
Deuteranopia (green-blind)
#504F4C
Tritanopia (blue-blind)
#86283A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7c2e4e; /* rgb */ color: rgb(124, 46, 78); /* oklch */ color: oklch(42.3% 0.114 357.6);
Tailwind
colors: {
custom: {
50: '#a56b7f',
500: '#7c2e4e',
950: '#000000',
},
}SCSS
$custom: #7c2e4e; $custom-light: #a56b7f; $custom-dark: #000000;
JSON
{
"hex": "#7c2e4e",
"rgb": {
"r": 124,
"g": 46,
"b": 78
},
"hsl": {
"h": 335.385,
"s": 45.882,
"l": 33.333
},
"oklch": {
"l": 0.42279,
"c": 0.11354,
"h": 357.6
},
"luminance": 0.06789
}Semantic roles & 50–950 ramp
primary
#7C2E4E
secondary
#5BAB8A
accent
#D6A052
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C