#7C2155#7C2155
#7C2155 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.136 H 349.6°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2155 |
|---|---|
| RGB | rgb(124, 33, 85) |
| HSL | hsl(326, 58%, 31%) |
| HSV | hsv(326, 73%, 49%) |
| CMYK | cmyk(0%, 73.4%, 31.5%, 51.4%) |
| CIE-LAB | lab(29.49, 43.82, -9.35) |
| CIE-LCH | lch(29.49, 44.80, 347.96°) |
| OKLab | oklab(41.01% 0.1336 -0.0244) |
| OKLCH | oklch(41.01% 0.136 349.6) |
| XYZ | xyz(10.4963, 6.0298, 9.2037) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.73
Red Purple
#820747
ΔE00 4.46
Reddish Purple
#910951
ΔE00 5.01
Dark Magenta
#960056
ΔE00 5.38
Mulberry
#920A4E
ΔE00 5.74
Rich Purple
#720058
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2155 #217C48
analogous
#75217C #7C2155 #7C2127
triadic
#7C2155 #557C21 #21557C
tetradic
#7C2155 #7C7521 #217C48 #21277C
square
#7C2155 #7C7521 #217C48 #21277C
split-complementary
#7C2155 #277C21 #217C75
monochromatic
#1B0713 #4C1434 #7C2155 #AC2E76 #CF4995
Accessibility & contrast
On white
9.52
#7C2155 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7C2155 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2155
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2155 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2155 | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3B56
Deuteranopia (green-blind)
#494B53
Tritanopia (blue-blind)
#851C38
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7c2155; /* rgb */ color: rgb(124, 33, 85); /* oklch */ color: oklch(41.0% 0.136 349.6);
Tailwind
colors: {
custom: {
50: '#a56584',
500: '#7c2155',
950: '#000000',
},
}SCSS
$custom: #7c2155; $custom-light: #a56584; $custom-dark: #000000;
JSON
{
"hex": "#7c2155",
"rgb": {
"r": 124,
"g": 33,
"b": 85
},
"hsl": {
"h": 325.714,
"s": 57.962,
"l": 30.784
},
"oklch": {
"l": 0.41007,
"c": 0.13581,
"h": 349.6
},
"luminance": 0.06029
}Semantic roles & 50–950 ramp
primary
#7C2155
secondary
#4AAF75
accent
#E18947
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C