#7C1957#7C1957
#7C1957 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.146 H 347.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7C1957 |
|---|---|
| RGB | rgb(124, 25, 87) |
| HSL | hsl(322, 66%, 29%) |
| HSV | hsv(322, 80%, 49%) |
| CMYK | cmyk(0%, 79.8%, 29.8%, 51.4%) |
| CIE-LAB | lab(28.56, 46.92, -12.07) |
| CIE-LCH | lch(28.56, 48.44, 345.58°) |
| OKLab | oklab(40.36% 0.143 -0.0318) |
| OKLCH | oklch(40.36% 0.146 347.4) |
| XYZ | xyz(10.3806, 5.6697, 9.5627) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.44
Rich Purple
#720058
ΔE00 4.30
Red Purple
#820747
ΔE00 4.94
Reddish Purple
#910951
ΔE00 5.50
Dark Magenta
#960056
ΔE00 5.62
Red Violet
#9E0168
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C1957 #197C3E
analogous
#70197C #7C1957 #7C1926
triadic
#7C1957 #577C19 #19577C
tetradic
#7C1957 #7C7019 #197C3E #19267C
square
#7C1957 #7C7019 #197C3E #19267C
split-complementary
#7C1957 #267C19 #197C70
monochromatic
#190512 #490F33 #7C1957 #AF237B #D7389C
Accessibility & contrast
On white
9.84
#7C1957 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7C1957 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C1957
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C1957 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C1957 | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#283859
Deuteranopia (green-blind)
#464955
Tritanopia (blue-blind)
#851536
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7c1957; /* rgb */ color: rgb(124, 25, 87); /* oklch */ color: oklch(40.4% 0.146 347.4);
Tailwind
colors: {
custom: {
50: '#a66186',
500: '#7c1957',
950: '#000000',
},
}SCSS
$custom: #7c1957; $custom-light: #a66186; $custom-dark: #000000;
JSON
{
"hex": "#7c1957",
"rgb": {
"r": 124,
"g": 25,
"b": 87
},
"hsl": {
"h": 322.424,
"s": 66.443,
"l": 29.216
},
"oklch": {
"l": 0.4036,
"c": 0.14649,
"h": 347.4
},
"luminance": 0.05668
}Semantic roles & 50–950 ramp
primary
#7C1957
secondary
#40B06A
accent
#E97E3E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C