#7C1A5A#7C1A5A
#7C1A5A is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.147 H 345.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7C1A5A |
|---|---|
| RGB | rgb(124, 26, 90) |
| HSL | hsl(321, 65%, 29%) |
| HSV | hsv(321, 79%, 49%) |
| CMYK | cmyk(0%, 79%, 27.4%, 51.4%) |
| CIE-LAB | lab(28.81, 46.99, -13.67) |
| CIE-LCH | lch(28.81, 48.94, 343.78°) |
| OKLab | oklab(40.58% 0.1427 -0.0363) |
| OKLCH | oklch(40.58% 0.147 345.7) |
| XYZ | xyz(10.5275, 5.7632, 10.2289) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.62
Rich Purple
#720058
ΔE00 3.97
Red Purple
#820747
ΔE00 5.68
Dark Magenta
#960056
ΔE00 6.03
Reddish Purple
#910951
ΔE00 6.05
Red Violet
#9E0168
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C1A5A #1A7C3C
analogous
#6D1A7C #7C1A5A #7C1A29
triadic
#7C1A5A #5A7C1A #1A5A7C
tetradic
#7C1A5A #7C6D1A #1A7C3C #1A297C
square
#7C1A5A #7C6D1A #1A7C3C #1A297C
split-complementary
#7C1A5A #297C1A #1A7C6D
monochromatic
#190512 #490F35 #7C1A5A #AF257F #D63BA0
Accessibility & contrast
On white
9.76
#7C1A5A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7C1A5A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C1A5A
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C1A5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C1A5A | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27395C
Deuteranopia (green-blind)
#454A58
Tritanopia (blue-blind)
#851838
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7c1a5a; /* rgb */ color: rgb(124, 26, 90); /* oklch */ color: oklch(40.6% 0.147 345.7);
Tailwind
colors: {
custom: {
50: '#a66288',
500: '#7c1a5a',
950: '#000000',
},
}SCSS
$custom: #7c1a5a; $custom-light: #a66288; $custom-dark: #000000;
JSON
{
"hex": "#7c1a5a",
"rgb": {
"r": 124,
"g": 26,
"b": 90
},
"hsl": {
"h": 320.816,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.40579,
"c": 0.14719,
"h": 345.7
},
"luminance": 0.05762
}Semantic roles & 50–950 ramp
primary
#7C1A5A
secondary
#42B068
accent
#E87A40
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C