#7C1240#7C1240
#7C1240 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.143 H 1.2°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7C1240 |
|---|---|
| RGB | rgb(124, 18, 64) |
| HSL | hsl(334, 75%, 28%) |
| HSV | hsv(334, 85%, 49%) |
| CMYK | cmyk(0%, 85.5%, 48.4%, 51.4%) |
| CIE-LAB | lab(26.99, 46.38, 0.94) |
| CIE-LCH | lch(26.99, 46.39, 1.16°) |
| OKLab | oklab(38.93% 0.1426 0.0029) |
| OKLCH | oklch(38.93% 0.143 1.2) |
| XYZ | xyz(9.4547, 5.0892, 5.3339) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.39
Red Purple
#820747
ΔE00 2.31
Merlot
#730039
ΔE00 2.60
Mulberry
#920A4E
ΔE00 4.49
Reddish Purple
#910951
ΔE00 4.78
Purple Red
#990147
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C1240 #127C4E
analogous
#7C1275 #7C1240 #7C1912
triadic
#7C1240 #407C12 #12407C
tetradic
#7C1240 #757C12 #127C4E #19127C
square
#7C1240 #757C12 #127C4E #19127C
split-complementary
#7C1240 #127C19 #12757C
monochromatic
#1B040E #470A24 #7C1240 #B11A5C #E02978
Accessibility & contrast
On white
10.41
#7C1240 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7C1240 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C1240
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C1240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C1240 | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3341
Deuteranopia (green-blind)
#4A473E
Tritanopia (blue-blind)
#870027
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7c1240; /* rgb */ color: rgb(124, 18, 64); /* oklch */ color: oklch(38.9% 0.143 1.2);
Tailwind
colors: {
custom: {
50: '#a75e74',
500: '#7c1240',
950: '#000000',
},
}SCSS
$custom: #7c1240; $custom-light: #a75e74; $custom-dark: #000000;
JSON
{
"hex": "#7c1240",
"rgb": {
"r": 124,
"g": 18,
"b": 64
},
"hsl": {
"h": 333.962,
"s": 74.648,
"l": 27.843
},
"oklch": {
"l": 0.38928,
"c": 0.14261,
"h": 1.2
},
"luminance": 0.05088
}Semantic roles & 50–950 ramp
primary
#7C1240
secondary
#38B27D
accent
#F1A037
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B