#7C1757#7C1757
#7C1757 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.149 H 347.3°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7C1757 |
|---|---|
| RGB | rgb(124, 23, 87) |
| HSL | hsl(322, 69%, 29%) |
| HSV | hsv(322, 81%, 49%) |
| CMYK | cmyk(0%, 81.5%, 29.8%, 51.4%) |
| CIE-LAB | lab(28.35, 47.54, -12.40) |
| CIE-LCH | lch(28.35, 49.13, 345.38°) |
| OKLab | oklab(40.2% 0.1449 -0.0327) |
| OKLCH | oklch(40.2% 0.149 347.3) |
| XYZ | xyz(10.3394, 5.5872, 9.5489) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.22
Rich Purple
#720058
ΔE00 4.06
Red Purple
#820747
ΔE00 4.99
Reddish Purple
#910951
ΔE00 5.58
Dark Magenta
#960056
ΔE00 5.66
Red Violet
#9E0168
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C1757 #177C3C
analogous
#6F177C #7C1757 #7C1725
triadic
#7C1757 #577C17 #17577C
tetradic
#7C1757 #7C6F17 #177C3C #17257C
square
#7C1757 #7C6F17 #177C3C #17257C
split-complementary
#7C1757 #257C17 #177C6F
monochromatic
#1A0512 #480D33 #7C1757 #B0217B #D9349D
Accessibility & contrast
On white
9.92
#7C1757 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7C1757 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C1757
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C1757 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C1757 | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#273859
Deuteranopia (green-blind)
#454955
Tritanopia (blue-blind)
#851235
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7c1757; /* rgb */ color: rgb(124, 23, 87); /* oklch */ color: oklch(40.2% 0.149 347.3);
Tailwind
colors: {
custom: {
50: '#a66186',
500: '#7c1757',
950: '#000000',
},
}SCSS
$custom: #7c1757; $custom-light: #a66186; $custom-dark: #000000;
JSON
{
"hex": "#7c1757",
"rgb": {
"r": 124,
"g": 23,
"b": 87
},
"hsl": {
"h": 321.98,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.40202,
"c": 0.14857,
"h": 347.3
},
"luminance": 0.05586
}Semantic roles & 50–950 ramp
primary
#7C1757
secondary
#3EB168
accent
#EC7C3C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C