#7C2138#7C2138
#7C2138 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.0% C 0.125 H 10.0°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2138 |
|---|---|
| RGB | rgb(124, 33, 56) |
| HSL | hsl(345, 58%, 31%) |
| HSV | hsv(345, 73%, 49%) |
| CMYK | cmyk(0%, 73.4%, 54.8%, 51.4%) |
| CIE-LAB | lab(28.54, 40.65, 8.53) |
| CIE-LCH | lch(28.54, 41.53, 11.85°) |
| OKLab | oklab(40% 0.1233 0.0217) |
| OKLCH | oklch(40% 0.125 10) |
| XYZ | xyz(9.5707, 5.6596, 4.3291) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.86
Red Wine
#8C0034
ΔE00 4.14
Wine
#722F37
ΔE00 4.39
Wine (survey)
#80013F
ΔE00 5.63
Wine Red
#7B0323
ΔE00 5.75
Merlot
#730039
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2138 #217C65
analogous
#7C2165 #7C2138 #7C3721
triadic
#7C2138 #387C21 #21387C
tetradic
#7C2138 #657C21 #217C65 #37217C
square
#7C2138 #657C21 #217C65 #37217C
split-complementary
#7C2138 #217C37 #21657C
monochromatic
#1B070C #4C1422 #7C2138 #AC2E4E #CF496B
Accessibility & contrast
On white
9.85
#7C2138 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7C2138 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2138
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2138 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2138 | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373838
Deuteranopia (green-blind)
#4F4A36
Tritanopia (blue-blind)
#880D2A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7c2138; /* rgb */ color: rgb(124, 33, 56); /* oklch */ color: oklch(40.0% 0.125 10.0);
Tailwind
colors: {
custom: {
50: '#a7646e',
500: '#7c2138',
950: '#000000',
},
}SCSS
$custom: #7c2138; $custom-light: #a7646e; $custom-dark: #000000;
JSON
{
"hex": "#7c2138",
"rgb": {
"r": 124,
"g": 33,
"b": 56
},
"hsl": {
"h": 344.835,
"s": 57.962,
"l": 30.784
},
"oklch": {
"l": 0.39995,
"c": 0.12522,
"h": 10
},
"luminance": 0.05658
}Semantic roles & 50–950 ramp
primary
#7C2138
secondary
#4AAF95
accent
#E1BA47
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100607
muted
#7F7A7A