#7C2140#7C2140
#7C2140 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.127 H 4.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2140 |
|---|---|
| RGB | rgb(124, 33, 64) |
| HSL | hsl(340, 58%, 31%) |
| HSV | hsv(340, 73%, 49%) |
| CMYK | cmyk(0%, 73.4%, 48.4%, 51.4%) |
| CIE-LAB | lab(28.76, 41.40, 3.49) |
| CIE-LCH | lch(28.76, 41.54, 4.82°) |
| OKLab | oklab(40.23% 0.1266 0.0094) |
| OKLCH | oklch(40.23% 0.127 4.2) |
| XYZ | xyz(9.7822, 5.7442, 5.4431) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.68
Red Purple
#820747
ΔE00 4.52
Merlot
#730039
ΔE00 4.71
Mulberry
#920A4E
ΔE00 5.43
Bordeaux
#7B002C
ΔE00 5.51
Red Wine
#8C0034
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2140 #217C5D
analogous
#7C216D #7C2140 #7C2F21
triadic
#7C2140 #407C21 #21407C
tetradic
#7C2140 #6D7C21 #217C5D #2F217C
square
#7C2140 #6D7C21 #217C5D #2F217C
split-complementary
#7C2140 #217C2F #216D7C
monochromatic
#1B070E #4C1427 #7C2140 #AC2E59 #CF4976
Accessibility & contrast
On white
9.77
#7C2140 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7C2140 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2140
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2140 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2140 | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353841
Deuteranopia (green-blind)
#4E4A3E
Tritanopia (blue-blind)
#87122E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7c2140; /* rgb */ color: rgb(124, 33, 64); /* oklch */ color: oklch(40.2% 0.127 4.2);
Tailwind
colors: {
custom: {
50: '#a76474',
500: '#7c2140',
950: '#000000',
},
}SCSS
$custom: #7c2140; $custom-light: #a76474; $custom-dark: #000000;
JSON
{
"hex": "#7c2140",
"rgb": {
"r": 124,
"g": 33,
"b": 64
},
"hsl": {
"h": 339.56,
"s": 57.962,
"l": 30.784
},
"oklch": {
"l": 0.40231,
"c": 0.1269,
"h": 4.2
},
"luminance": 0.05743
}Semantic roles & 50–950 ramp
primary
#7C2140
secondary
#4AAF8C
accent
#E1AD47
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B