#7C1B58#7C1B58
#7C1B58 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.145 H 347.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7C1B58 |
|---|---|
| RGB | rgb(124, 27, 88) |
| HSL | hsl(322, 64%, 30%) |
| HSV | hsv(322, 78%, 49%) |
| CMYK | cmyk(0%, 78.2%, 29%, 51.4%) |
| CIE-LAB | lab(28.84, 46.39, -12.31) |
| CIE-LCH | lch(28.84, 48.00, 345.14°) |
| OKLab | oklab(40.57% 0.1412 -0.0325) |
| OKLCH | oklch(40.57% 0.145 347) |
| XYZ | xyz(10.4661, 5.7747, 9.7941) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.66
Rich Purple
#720058
ΔE00 4.39
Red Purple
#820747
ΔE00 5.16
Reddish Purple
#910951
ΔE00 5.62
Dark Magenta
#960056
ΔE00 5.71
Red Violet
#9E0168
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C1B58 #1B7C3F
analogous
#701B7C #7C1B58 #7C1B28
triadic
#7C1B58 #587C1B #1B587C
tetradic
#7C1B58 #7C701B #1B7C3F #1B287C
square
#7C1B58 #7C701B #1B7C3F #1B287C
split-complementary
#7C1B58 #287C1B #1B7C70
monochromatic
#190512 #4A1034 #7C1B58 #AE267C #D53D9C
Accessibility & contrast
On white
9.75
#7C1B58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7C1B58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C1B58
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C1B58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C1B58 | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29395A
Deuteranopia (green-blind)
#464A56
Tritanopia (blue-blind)
#851737
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7c1b58; /* rgb */ color: rgb(124, 27, 88); /* oklch */ color: oklch(40.6% 0.145 347.0);
Tailwind
colors: {
custom: {
50: '#a66287',
500: '#7c1b58',
950: '#000000',
},
}SCSS
$custom: #7c1b58; $custom-light: #a66287; $custom-dark: #000000;
JSON
{
"hex": "#7c1b58",
"rgb": {
"r": 124,
"g": 27,
"b": 88
},
"hsl": {
"h": 322.268,
"s": 64.238,
"l": 29.608
},
"oklch": {
"l": 0.40572,
"c": 0.14487,
"h": 347
},
"luminance": 0.05774
}Semantic roles & 50–950 ramp
primary
#7C1B58
secondary
#43B06B
accent
#E77E41
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C