#7C1242#7C1242
#7C1242 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.143 H 359.9°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7C1242 |
|---|---|
| RGB | rgb(124, 18, 66) |
| HSL | hsl(333, 75%, 28%) |
| HSV | hsv(333, 85%, 49%) |
| CMYK | cmyk(0%, 85.5%, 46.8%, 51.4%) |
| CIE-LAB | lab(27.05, 46.57, -0.32) |
| CIE-LCH | lch(27.05, 46.57, 359.60°) |
| OKLab | oklab(39% 0.1433 -0.0003) |
| OKLCH | oklch(39% 0.143 359.9) |
| XYZ | xyz(9.5126, 5.1124, 5.6391) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.54
Red Purple
#820747
ΔE00 1.80
Merlot
#730039
ΔE00 2.65
Mulberry
#920A4E
ΔE00 4.30
Reddish Purple
#910951
ΔE00 4.46
Dark Magenta
#960056
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C1242 #127C4C
analogous
#7C1277 #7C1242 #7C1712
triadic
#7C1242 #427C12 #12427C
tetradic
#7C1242 #777C12 #127C4C #17127C
square
#7C1242 #777C12 #127C4C #17127C
split-complementary
#7C1242 #127C17 #12777C
monochromatic
#1B040E #470A26 #7C1242 #B11A5E #E0297C
Accessibility & contrast
On white
10.38
#7C1242 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7C1242 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C1242
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C1242 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C1242 | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3343
Deuteranopia (green-blind)
#494740
Tritanopia (blue-blind)
#870028
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7c1242; /* rgb */ color: rgb(124, 18, 66); /* oklch */ color: oklch(39.0% 0.143 359.9);
Tailwind
colors: {
custom: {
50: '#a75e76',
500: '#7c1242',
950: '#000000',
},
}SCSS
$custom: #7c1242; $custom-light: #a75e76; $custom-dark: #000000;
JSON
{
"hex": "#7c1242",
"rgb": {
"r": 124,
"g": 18,
"b": 66
},
"hsl": {
"h": 332.83,
"s": 74.648,
"l": 27.843
},
"oklch": {
"l": 0.38997,
"c": 0.14329,
"h": 359.9
},
"luminance": 0.05111
}Semantic roles & 50–950 ramp
primary
#7C1242
secondary
#38B27B
accent
#F19D37
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B