#7F1847#7F1847
#7F1847 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.142 H 358.6°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1847 |
|---|---|
| RGB | rgb(127, 24, 71) |
| HSL | hsl(333, 68%, 30%) |
| HSV | hsv(333, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 44.1%, 50.2%) |
| CIE-LAB | lab(28.44, 46.20, -1.58) |
| CIE-LCH | lch(28.44, 46.23, 358.04°) |
| OKLab | oklab(40.18% 0.1421 -0.0036) |
| OKLCH | oklch(40.18% 0.142 358.6) |
| XYZ | xyz(10.2171, 5.6216, 6.5071) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.62
Wine (survey)
#80013F
ΔE00 2.42
Mulberry
#920A4E
ΔE00 3.60
Reddish Purple
#910951
ΔE00 3.63
Merlot
#730039
ΔE00 3.81
Dark Magenta
#960056
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1847 #187F50
analogous
#7F187B #7F1847 #7F1C18
triadic
#7F1847 #477F18 #18477F
tetradic
#7F1847 #7B7F18 #187F50 #1C187F
square
#7F1847 #7B7F18 #187F50 #1C187F
split-complementary
#7F1847 #187F1C #187B7F
monochromatic
#1A050E #4C0E2A #7F1847 #B22264 #D93882
Accessibility & contrast
On white
9.89
#7F1847 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7F1847 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1847
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1847 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1847 | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303748
Deuteranopia (green-blind)
#4C4A45
Tritanopia (blue-blind)
#8A042D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1847; /* rgb */ color: rgb(127, 24, 71); /* oklch */ color: oklch(40.2% 0.142 358.6);
Tailwind
colors: {
custom: {
50: '#a9617a',
500: '#7f1847',
950: '#000000',
},
}SCSS
$custom: #7f1847; $custom-light: #a9617a; $custom-dark: #000000;
JSON
{
"hex": "#7f1847",
"rgb": {
"r": 127,
"g": 24,
"b": 71
},
"hsl": {
"h": 332.621,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.40176,
"c": 0.14211,
"h": 358.6
},
"luminance": 0.0562
}Semantic roles & 50–950 ramp
primary
#7F1847
secondary
#3FB37E
accent
#EB9C3D
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B