#7A1C52#7A1C52
#7A1C52 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.139 H 350.1°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7A1C52 |
|---|---|
| RGB | rgb(122, 28, 82) |
| HSL | hsl(326, 63%, 29%) |
| HSV | hsv(326, 77%, 48%) |
| CMYK | cmyk(0%, 77%, 32.8%, 52.2%) |
| CIE-LAB | lab(28.32, 44.72, -9.17) |
| CIE-LCH | lch(28.32, 45.65, 348.41°) |
| OKLab | oklab(40.04% 0.1367 -0.0239) |
| OKLCH | oklch(40.04% 0.139 350.1) |
| XYZ | xyz(9.9648, 5.5784, 8.5330) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.98
Red Purple
#820747
ΔE00 4.00
Reddish Purple
#910951
ΔE00 5.06
Rich Purple
#720058
ΔE00 5.34
Dark Magenta
#960056
ΔE00 5.51
Mulberry
#920A4E
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A1C52 #1C7A44
analogous
#731C7A #7A1C52 #7A1C23
triadic
#7A1C52 #527A1C #1C527A
tetradic
#7A1C52 #7A731C #1C7A44 #1C237A
square
#7A1C52 #7A731C #1C7A44 #1C237A
split-complementary
#7A1C52 #237A1C #1C7A73
monochromatic
#190611 #481131 #7A1C52 #AC2773 #D33E93
Accessibility & contrast
On white
9.93
#7A1C52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7A1C52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A1C52
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A1C52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A1C52 | 1.00 | 9.93 | 2.12 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3853
Deuteranopia (green-blind)
#474950
Tritanopia (blue-blind)
#831634
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7a1c52; /* rgb */ color: rgb(122, 28, 82); /* oklch */ color: oklch(40.0% 0.139 350.1);
Tailwind
colors: {
custom: {
50: '#a46282',
500: '#7a1c52',
950: '#000000',
},
}SCSS
$custom: #7a1c52; $custom-light: #a46282; $custom-dark: #000000;
JSON
{
"hex": "#7a1c52",
"rgb": {
"r": 122,
"g": 28,
"b": 82
},
"hsl": {
"h": 325.532,
"s": 62.667,
"l": 29.412
},
"oklch": {
"l": 0.40045,
"c": 0.13875,
"h": 350.1
},
"luminance": 0.05577
}Semantic roles & 50–950 ramp
primary
#7A1C52
secondary
#44AE71
accent
#E68842
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C