#7C1946#7C1946
#7C1946 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.138 H 358.3°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #7C1946 |
|---|---|
| RGB | rgb(124, 25, 70) |
| HSL | hsl(333, 66%, 29%) |
| HSV | hsv(333, 80%, 49%) |
| CMYK | cmyk(0%, 79.8%, 43.5%, 51.4%) |
| CIE-LAB | lab(27.91, 44.92, -1.75) |
| CIE-LCH | lch(27.91, 44.96, 357.76°) |
| OKLab | oklab(39.67% 0.1381 -0.004) |
| OKLCH | oklch(39.67% 0.138 358.3) |
| XYZ | xyz(9.7660, 5.4238, 6.3258) |
| Luminance | 0.0542 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.91
Wine (survey)
#80013F
ΔE00 2.57
Merlot
#730039
ΔE00 3.53
Reddish Purple
#910951
ΔE00 4.18
Mulberry
#920A4E
ΔE00 4.18
Dark Magenta
#960056
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C1946 #197C4F
analogous
#7C1978 #7C1946 #7C1D19
triadic
#7C1946 #467C19 #19467C
tetradic
#7C1946 #787C19 #197C4F #1D197C
square
#7C1946 #787C19 #197C4F #1D197C
split-complementary
#7C1946 #197C1D #19787C
monochromatic
#19050E #490F29 #7C1946 #AF2363 #D73880
Accessibility & contrast
On white
10.07
#7C1946 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7C1946 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C1946
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C1946 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C1946 | 1.00 | 10.07 | 2.08 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3647
Deuteranopia (green-blind)
#4A4944
Tritanopia (blue-blind)
#87082D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7c1946; /* rgb */ color: rgb(124, 25, 70); /* oklch */ color: oklch(39.7% 0.138 358.3);
Tailwind
colors: {
custom: {
50: '#a76179',
500: '#7c1946',
950: '#000000',
},
}SCSS
$custom: #7c1946; $custom-light: #a76179; $custom-dark: #000000;
JSON
{
"hex": "#7c1946",
"rgb": {
"r": 124,
"g": 25,
"b": 70
},
"hsl": {
"h": 332.727,
"s": 66.443,
"l": 29.216
},
"oklch": {
"l": 0.39669,
"c": 0.13813,
"h": 358.3
},
"luminance": 0.05423
}Semantic roles & 50–950 ramp
primary
#7C1946
secondary
#40B07D
accent
#E99C3E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B