#7C2E52#7C2E52
#7C2E52 is a dark, moderate pink. Relative luminance 0.068; OKLCH L 42.4% C 0.115 H 354.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2E52 |
|---|---|
| RGB | rgb(124, 46, 82) |
| HSL | hsl(332, 46%, 33%) |
| HSV | hsv(332, 63%, 49%) |
| CMYK | cmyk(0%, 62.9%, 33.9%, 51.4%) |
| CIE-LAB | lab(31.46, 37.70, -4.42) |
| CIE-LCH | lch(31.46, 37.95, 353.31°) |
| OKLab | oklab(42.43% 0.1148 -0.0112) |
| OKLCH | oklch(42.43% 0.115 354.4) |
| XYZ | xyz(10.8127, 6.8494, 8.7336) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 5.41
Reddish Purple
#910951
ΔE00 5.73
Mulberry
#920A4E
ΔE00 5.93
Dark Magenta
#960056
ΔE00 6.49
Wine (survey)
#80013F
ΔE00 6.50
Velvet
#750851
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2E52 #2E7C58
analogous
#7C2E79 #7C2E52 #7C312E
triadic
#7C2E52 #527C2E #2E527C
tetradic
#7C2E52 #797C2E #2E7C58 #312E7C
square
#7C2E52 #797C2E #2E7C58 #312E7C
split-complementary
#7C2E52 #2E7C31 #2E797C
monochromatic
#230D17 #4F1D34 #7C2E52 #A93F70 #C4608E
Accessibility & contrast
On white
8.86
#7C2E52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#7C2E52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2E52
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2E52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2E52 | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4153
Deuteranopia (green-blind)
#4F4F50
Tritanopia (blue-blind)
#85293C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7c2e52; /* rgb */ color: rgb(124, 46, 82); /* oklch */ color: oklch(42.4% 0.115 354.4);
Tailwind
colors: {
custom: {
50: '#a56b82',
500: '#7c2e52',
950: '#000000',
},
}SCSS
$custom: #7c2e52; $custom-light: #a56b82; $custom-dark: #000000;
JSON
{
"hex": "#7c2e52",
"rgb": {
"r": 124,
"g": 46,
"b": 82
},
"hsl": {
"h": 332.308,
"s": 45.882,
"l": 33.333
},
"oklch": {
"l": 0.42426,
"c": 0.11537,
"h": 354.4
},
"luminance": 0.06848
}Semantic roles & 50–950 ramp
primary
#7C2E52
secondary
#5BAB86
accent
#D69952
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C