#7C2540#7C2540
#7C2540 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.7% C 0.122 H 5.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2540 |
|---|---|
| RGB | rgb(124, 37, 64) |
| HSL | hsl(341, 54%, 32%) |
| HSV | hsv(341, 70%, 49%) |
| CMYK | cmyk(0%, 70.2%, 48.4%, 51.4%) |
| CIE-LAB | lab(29.36, 39.73, 4.36) |
| CIE-LCH | lch(29.36, 39.97, 6.26°) |
| OKLab | oklab(40.68% 0.1212 0.0116) |
| OKLCH | oklch(40.68% 0.122 5.4) |
| XYZ | xyz(9.8999, 5.9796, 5.4824) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 4.58
Red Purple
#820747
ΔE00 5.39
Wine
#722F37
ΔE00 5.45
Merlot
#730039
ΔE00 5.55
Red Wine
#8C0034
ΔE00 5.57
Bordeaux
#7B002C
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2540 #257C61
analogous
#7C256C #7C2540 #7C3625
triadic
#7C2540 #407C25 #25407C
tetradic
#7C2540 #6C7C25 #257C61 #36257C
square
#7C2540 #6C7C25 #257C61 #36257C
split-complementary
#7C2540 #257C36 #256C7C
monochromatic
#1E090F #4D1728 #7C2540 #AB3358 #CB5076
Accessibility & contrast
On white
9.56
#7C2540 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7C2540 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2540
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2540 | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383A41
Deuteranopia (green-blind)
#4F4C3E
Tritanopia (blue-blind)
#871830
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7c2540; /* rgb */ color: rgb(124, 37, 64); /* oklch */ color: oklch(40.7% 0.122 5.4);
Tailwind
colors: {
custom: {
50: '#a66674',
500: '#7c2540',
950: '#000000',
},
}SCSS
$custom: #7c2540; $custom-light: #a66674; $custom-dark: #000000;
JSON
{
"hex": "#7c2540",
"rgb": {
"r": 124,
"g": 37,
"b": 64
},
"hsl": {
"h": 341.379,
"s": 54.037,
"l": 31.569
},
"oklch": {
"l": 0.40678,
"c": 0.12179,
"h": 5.4
},
"luminance": 0.05978
}Semantic roles & 50–950 ramp
primary
#7C2540
secondary
#4FAE91
accent
#DDB04A
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B