#7C2148#7C2148
#7C2148 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.130 H 358.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2148 |
|---|---|
| RGB | rgb(124, 33, 72) |
| HSL | hsl(334, 58%, 31%) |
| HSV | hsv(334, 73%, 49%) |
| CMYK | cmyk(0%, 73.4%, 41.9%, 51.4%) |
| CIE-LAB | lab(29.01, 42.24, -1.47) |
| CIE-LCH | lch(29.01, 42.27, 358.01°) |
| OKLab | oklab(40.5% 0.1295 -0.0033) |
| OKLCH | oklch(40.5% 0.13 358.5) |
| XYZ | xyz(10.0264, 5.8419, 6.7292) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.98
Wine (survey)
#80013F
ΔE00 3.56
Mulberry
#920A4E
ΔE00 4.45
Reddish Purple
#910951
ΔE00 4.51
Merlot
#730039
ΔE00 4.53
Dark Magenta
#960056
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2148 #217C55
analogous
#7C2175 #7C2148 #7C2721
triadic
#7C2148 #487C21 #21487C
tetradic
#7C2148 #757C21 #217C55 #27217C
square
#7C2148 #757C21 #217C55 #27217C
split-complementary
#7C2148 #217C27 #21757C
monochromatic
#1B0710 #4C142C #7C2148 #AC2E64 #CF4982
Accessibility & contrast
On white
9.69
#7C2148 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7C2148 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2148
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2148 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2148 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333949
Deuteranopia (green-blind)
#4C4B46
Tritanopia (blue-blind)
#861631
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7c2148; /* rgb */ color: rgb(124, 33, 72); /* oklch */ color: oklch(40.5% 0.130 358.5);
Tailwind
colors: {
custom: {
50: '#a6647a',
500: '#7c2148',
950: '#000000',
},
}SCSS
$custom: #7c2148; $custom-light: #a6647a; $custom-dark: #000000;
JSON
{
"hex": "#7c2148",
"rgb": {
"r": 124,
"g": 33,
"b": 72
},
"hsl": {
"h": 334.286,
"s": 57.962,
"l": 30.784
},
"oklch": {
"l": 0.405,
"c": 0.12956,
"h": 358.5
},
"luminance": 0.05841
}Semantic roles & 50–950 ramp
primary
#7C2148
secondary
#4AAF84
accent
#E19F47
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B