#7C2157#7C2157
#7C2157 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.137 H 348.3°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2157 |
|---|---|
| RGB | rgb(124, 33, 87) |
| HSL | hsl(324, 58%, 31%) |
| HSV | hsv(324, 73%, 49%) |
| CMYK | cmyk(0%, 73.4%, 29.8%, 51.4%) |
| CIE-LAB | lab(29.57, 44.08, -10.54) |
| CIE-LCH | lch(29.57, 45.32, 346.56°) |
| OKLab | oklab(41.09% 0.1341 -0.0277) |
| OKLCH | oklch(41.09% 0.137 348.3) |
| XYZ | xyz(10.5768, 6.0621, 9.6281) |
| Luminance | 0.0606 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.56
Red Purple
#820747
ΔE00 4.91
Reddish Purple
#910951
ΔE00 5.33
Rich Purple
#720058
ΔE00 5.48
Dark Magenta
#960056
ΔE00 5.58
Grape
#6C3461
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2157 #217C46
analogous
#73217C #7C2157 #7C2129
triadic
#7C2157 #577C21 #21577C
tetradic
#7C2157 #7C7321 #217C46 #21297C
square
#7C2157 #7C7321 #217C46 #21297C
split-complementary
#7C2157 #297C21 #217C73
monochromatic
#1B0713 #4C1435 #7C2157 #AC2E79 #CF4998
Accessibility & contrast
On white
9.49
#7C2157 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7C2157 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2157
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2157 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2157 | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3C59
Deuteranopia (green-blind)
#484B55
Tritanopia (blue-blind)
#851D39
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7c2157; /* rgb */ color: rgb(124, 33, 87); /* oklch */ color: oklch(41.1% 0.137 348.3);
Tailwind
colors: {
custom: {
50: '#a56586',
500: '#7c2157',
950: '#000000',
},
}SCSS
$custom: #7c2157; $custom-light: #a56586; $custom-dark: #000000;
JSON
{
"hex": "#7c2157",
"rgb": {
"r": 124,
"g": 33,
"b": 87
},
"hsl": {
"h": 324.396,
"s": 57.962,
"l": 30.784
},
"oklch": {
"l": 0.41093,
"c": 0.13697,
"h": 348.3
},
"luminance": 0.06061
}Semantic roles & 50–950 ramp
primary
#7C2157
secondary
#4AAF73
accent
#E18547
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C