#7C2152#7C2152
#7C2152 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.134 H 351.6°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2152 |
|---|---|
| RGB | rgb(124, 33, 82) |
| HSL | hsl(328, 58%, 31%) |
| HSV | hsv(328, 73%, 49%) |
| CMYK | cmyk(0%, 73.4%, 33.9%, 51.4%) |
| CIE-LAB | lab(29.37, 43.43, -7.55) |
| CIE-LCH | lch(29.37, 44.08, 350.14°) |
| OKLab | oklab(40.88% 0.1328 -0.0195) |
| OKLCH | oklch(40.88% 0.134 351.6) |
| XYZ | xyz(10.3796, 5.9832, 8.5893) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.82
Velvet
#750851
ΔE00 4.14
Reddish Purple
#910951
ΔE00 4.61
Dark Magenta
#960056
ΔE00 5.19
Mulberry
#920A4E
ΔE00 5.22
Wine (survey)
#80013F
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2152 #217C4B
analogous
#78217C #7C2152 #7C2124
triadic
#7C2152 #527C21 #21527C
tetradic
#7C2152 #7C7821 #217C4B #21247C
square
#7C2152 #7C7821 #217C4B #21247C
split-complementary
#7C2152 #247C21 #217C78
monochromatic
#1B0712 #4C1432 #7C2152 #AC2E72 #CF4991
Accessibility & contrast
On white
9.56
#7C2152 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7C2152 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2152
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2152 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2152 | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303B53
Deuteranopia (green-blind)
#4A4B50
Tritanopia (blue-blind)
#861B36
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7c2152; /* rgb */ color: rgb(124, 33, 82); /* oklch */ color: oklch(40.9% 0.134 351.6);
Tailwind
colors: {
custom: {
50: '#a66482',
500: '#7c2152',
950: '#000000',
},
}SCSS
$custom: #7c2152; $custom-light: #a66482; $custom-dark: #000000;
JSON
{
"hex": "#7c2152",
"rgb": {
"r": 124,
"g": 33,
"b": 82
},
"hsl": {
"h": 327.692,
"s": 57.962,
"l": 30.784
},
"oklch": {
"l": 0.40882,
"c": 0.13418,
"h": 351.6
},
"luminance": 0.05982
}Semantic roles & 50–950 ramp
primary
#7C2152
secondary
#4AAF79
accent
#E18E47
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C