#7B1847#7B1847
#7B1847 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.139 H 357.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1847 |
|---|---|
| RGB | rgb(123, 24, 71) |
| HSL | hsl(332, 67%, 29%) |
| HSV | hsv(332, 80%, 48%) |
| CMYK | cmyk(0%, 80.5%, 42.3%, 51.8%) |
| CIE-LAB | lab(27.63, 45.06, -2.86) |
| CIE-LCH | lch(27.63, 45.15, 356.37°) |
| OKLab | oklab(39.44% 0.1386 -0.007) |
| OKLCH | oklch(39.44% 0.139 357.1) |
| XYZ | xyz(9.6330, 5.3204, 6.4797) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.85
Wine (survey)
#80013F
ΔE00 2.87
Merlot
#730039
ΔE00 3.56
Reddish Purple
#910951
ΔE00 4.23
Mulberry
#920A4E
ΔE00 4.38
Velvet
#750851
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1847 #187B4C
analogous
#7B1879 #7B1847 #7B1B18
triadic
#7B1847 #477B18 #18477B
tetradic
#7B1847 #797B18 #187B4C #1B187B
square
#7B1847 #797B18 #187B4C #1B187B
split-complementary
#7B1847 #187B1B #18797B
monochromatic
#1A050F #480E29 #7B1847 #AE2265 #D83683
Accessibility & contrast
On white
10.18
#7B1847 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7B1847 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1847
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1847 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1847 | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3548
Deuteranopia (green-blind)
#494845
Tritanopia (blue-blind)
#86072D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7b1847; /* rgb */ color: rgb(123, 24, 71); /* oklch */ color: oklch(39.4% 0.139 357.1);
Tailwind
colors: {
custom: {
50: '#a6607a',
500: '#7b1847',
950: '#000000',
},
}SCSS
$custom: #7b1847; $custom-light: #a6607a; $custom-dark: #000000;
JSON
{
"hex": "#7b1847",
"rgb": {
"r": 123,
"g": 24,
"b": 71
},
"hsl": {
"h": 331.515,
"s": 67.347,
"l": 28.824
},
"oklch": {
"l": 0.39438,
"c": 0.13872,
"h": 357.1
},
"luminance": 0.05319
}Semantic roles & 50–950 ramp
primary
#7B1847
secondary
#3FB07A
accent
#EA983E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B