#7C1857#7C1857
#7C1857 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.148 H 347.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7C1857 |
|---|---|
| RGB | rgb(124, 24, 87) |
| HSL | hsl(322, 68%, 29%) |
| HSV | hsv(322, 81%, 49%) |
| CMYK | cmyk(0%, 80.6%, 29.8%, 51.4%) |
| CIE-LAB | lab(28.45, 47.23, -12.24) |
| CIE-LCH | lch(28.45, 48.79, 345.48°) |
| OKLab | oklab(40.28% 0.144 -0.0323) |
| OKLCH | oklch(40.28% 0.148 347.4) |
| XYZ | xyz(10.3596, 5.6277, 9.5557) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.33
Rich Purple
#720058
ΔE00 4.18
Red Purple
#820747
ΔE00 4.97
Reddish Purple
#910951
ΔE00 5.54
Dark Magenta
#960056
ΔE00 5.64
Red Violet
#9E0168
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C1857 #187C3D
analogous
#6F187C #7C1857 #7C1825
triadic
#7C1857 #577C18 #18577C
tetradic
#7C1857 #7C6F18 #187C3D #18257C
square
#7C1857 #7C6F18 #187C3D #18257C
split-complementary
#7C1857 #257C18 #187C6F
monochromatic
#1A0512 #490E33 #7C1857 #AF227B #D8369C
Accessibility & contrast
On white
9.88
#7C1857 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7C1857 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C1857
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C1857 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C1857 | 1.00 | 9.88 | 2.13 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#283859
Deuteranopia (green-blind)
#454955
Tritanopia (blue-blind)
#851435
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7c1857; /* rgb */ color: rgb(124, 24, 87); /* oklch */ color: oklch(40.3% 0.148 347.4);
Tailwind
colors: {
custom: {
50: '#a66186',
500: '#7c1857',
950: '#000000',
},
}SCSS
$custom: #7c1857; $custom-light: #a66186; $custom-dark: #000000;
JSON
{
"hex": "#7c1857",
"rgb": {
"r": 124,
"g": 24,
"b": 87
},
"hsl": {
"h": 322.2,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.40279,
"c": 0.14755,
"h": 347.4
},
"luminance": 0.05626
}Semantic roles & 50–950 ramp
primary
#7C1857
secondary
#3FB169
accent
#EA7D3D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C