#7F1447#7F1447
#7F1447 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.146 H 358.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1447 |
|---|---|
| RGB | rgb(127, 20, 71) |
| HSL | hsl(331, 73%, 29%) |
| HSV | hsv(331, 84%, 50%) |
| CMYK | cmyk(0%, 84.3%, 44.1%, 50.2%) |
| CIE-LAB | lab(28.03, 47.36, -2.18) |
| CIE-LCH | lch(28.03, 47.41, 357.37°) |
| OKLab | oklab(39.88% 0.1458 -0.0051) |
| OKLCH | oklch(39.88% 0.146 358) |
| XYZ | xyz(10.1407, 5.4686, 6.4816) |
| Luminance | 0.0547 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.12
Wine (survey)
#80013F
ΔE00 2.27
Reddish Purple
#910951
ΔE00 3.52
Mulberry
#920A4E
ΔE00 3.59
Merlot
#730039
ΔE00 3.60
Dark Magenta
#960056
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1447 #147F4C
analogous
#7F147D #7F1447 #7F1714
triadic
#7F1447 #477F14 #14477F
tetradic
#7F1447 #7D7F14 #147F4C #17147F
square
#7F1447 #7D7F14 #147F4C #17147F
split-complementary
#7F1447 #147F17 #147D7F
monochromatic
#1A040F #4A0C29 #7F1447 #B41C65 #DE2F83
Accessibility & contrast
On white
10.03
#7F1447 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7F1447 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1447
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1447 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1447 | 1.00 | 10.03 | 2.09 | 10.03 |
| #FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3548
Deuteranopia (green-blind)
#4B4945
Tritanopia (blue-blind)
#8A002C
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f1447; /* rgb */ color: rgb(127, 20, 71); /* oklch */ color: oklch(39.9% 0.146 358.0);
Tailwind
colors: {
custom: {
50: '#a95f7a',
500: '#7f1447',
950: '#000000',
},
}SCSS
$custom: #7f1447; $custom-light: #a95f7a; $custom-dark: #000000;
JSON
{
"hex": "#7f1447",
"rgb": {
"r": 127,
"g": 20,
"b": 71
},
"hsl": {
"h": 331.402,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.39879,
"c": 0.14587,
"h": 358
},
"luminance": 0.05467
}Semantic roles & 50–950 ramp
primary
#7F1447
secondary
#3BB47A
accent
#EF9838
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B