#7A1C54#7A1C54
#7A1C54 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.140 H 348.8°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7A1C54 |
|---|---|
| RGB | rgb(122, 28, 84) |
| HSL | hsl(324, 63%, 29%) |
| HSV | hsv(324, 77%, 48%) |
| CMYK | cmyk(0%, 77%, 31.1%, 52.2%) |
| CIE-LAB | lab(28.40, 44.97, -10.37) |
| CIE-LCH | lch(28.40, 46.15, 347.02°) |
| OKLab | oklab(40.13% 0.1372 -0.0272) |
| OKLCH | oklch(40.13% 0.14 348.8) |
| XYZ | xyz(10.0420, 5.6093, 8.9397) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.72
Red Purple
#820747
ΔE00 4.48
Rich Purple
#720058
ΔE00 4.91
Reddish Purple
#910951
ΔE00 5.36
Dark Magenta
#960056
ΔE00 5.68
Mulberry
#920A4E
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A1C54 #1C7A42
analogous
#711C7A #7A1C54 #7A1C25
triadic
#7A1C54 #547A1C #1C547A
tetradic
#7A1C54 #7A711C #1C7A42 #1C257A
square
#7A1C54 #7A711C #1C7A42 #1C257A
split-complementary
#7A1C54 #257A1C #1C7A71
monochromatic
#190611 #481132 #7A1C54 #AC2776 #D33E96
Accessibility & contrast
On white
9.90
#7A1C54 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7A1C54 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A1C54
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A1C54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A1C54 | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3856
Deuteranopia (green-blind)
#464952
Tritanopia (blue-blind)
#831735
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7a1c54; /* rgb */ color: rgb(122, 28, 84); /* oklch */ color: oklch(40.1% 0.140 348.8);
Tailwind
colors: {
custom: {
50: '#a46284',
500: '#7a1c54',
950: '#000000',
},
}SCSS
$custom: #7a1c54; $custom-light: #a46284; $custom-dark: #000000;
JSON
{
"hex": "#7a1c54",
"rgb": {
"r": 122,
"g": 28,
"b": 84
},
"hsl": {
"h": 324.255,
"s": 62.667,
"l": 29.412
},
"oklch": {
"l": 0.40131,
"c": 0.13987,
"h": 348.8
},
"luminance": 0.05608
}Semantic roles & 50–950 ramp
primary
#7A1C54
secondary
#44AE6F
accent
#E68442
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C