#7C2F4E#7C2F4E
#7C2F4E is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.4% C 0.112 H 357.9°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2F4E |
|---|---|
| RGB | rgb(124, 47, 78) |
| HSL | hsl(336, 45%, 34%) |
| HSV | hsv(336, 62%, 49%) |
| CMYK | cmyk(0%, 62.1%, 37.1%, 51.4%) |
| CIE-LAB | lab(31.51, 36.69, -1.75) |
| CIE-LCH | lch(31.51, 36.73, 357.27°) |
| OKLab | oklab(42.42% 0.1119 -0.0041) |
| OKLCH | oklch(42.42% 0.112 357.9) |
| XYZ | xyz(10.7044, 6.8693, 7.9684) |
| Luminance | 0.0687 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 5.60
Mulberry
#920A4E
ΔE00 5.99
Reddish Purple
#910951
ΔE00 6.05
Wine (survey)
#80013F
ΔE00 6.23
Brownish Purple
#76424E
ΔE00 6.61
Berry
#990F4B
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2F4E #2F7C5D
analogous
#7C2F74 #7C2F4E #7C362F
triadic
#7C2F4E #4E7C2F #2F4E7C
tetradic
#7C2F4E #747C2F #2F7C5D #362F7C
square
#7C2F4E #747C2F #2F7C5D #362F7C
split-complementary
#7C2F4E #2F7C36 #2F747C
monochromatic
#230D16 #501E32 #7C2F4E #A8406A #C36289
Accessibility & contrast
On white
8.85
#7C2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#7C2F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2F4E
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2F4E | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C414F
Deuteranopia (green-blind)
#504F4C
Tritanopia (blue-blind)
#86293B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7c2f4e; /* rgb */ color: rgb(124, 47, 78); /* oklch */ color: oklch(42.4% 0.112 357.9);
Tailwind
colors: {
custom: {
50: '#a56c7f',
500: '#7c2f4e',
950: '#000000',
},
}SCSS
$custom: #7c2f4e; $custom-light: #a56c7f; $custom-dark: #000000;
JSON
{
"hex": "#7c2f4e",
"rgb": {
"r": 124,
"g": 47,
"b": 78
},
"hsl": {
"h": 335.844,
"s": 45.029,
"l": 33.529
},
"oklch": {
"l": 0.42415,
"c": 0.11198,
"h": 357.9
},
"luminance": 0.06868
}Semantic roles & 50–950 ramp
primary
#7C2F4E
secondary
#5CAA8B
accent
#D5A153
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C