#7F1947#7F1947
#7F1947 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.141 H 358.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1947 |
|---|---|
| RGB | rgb(127, 25, 71) |
| HSL | hsl(333, 67%, 30%) |
| HSV | hsv(333, 80%, 50%) |
| CMYK | cmyk(0%, 80.3%, 44.1%, 50.2%) |
| CIE-LAB | lab(28.55, 45.89, -1.42) |
| CIE-LCH | lch(28.55, 45.91, 358.23°) |
| OKLab | oklab(40.26% 0.1411 -0.0032) |
| OKLCH | oklch(40.26% 0.141 358.7) |
| XYZ | xyz(10.2381, 5.6636, 6.5141) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.76
Wine (survey)
#80013F
ΔE00 2.48
Mulberry
#920A4E
ΔE00 3.61
Reddish Purple
#910951
ΔE00 3.68
Merlot
#730039
ΔE00 3.88
Dark Magenta
#960056
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1947 #197F51
analogous
#7F197A #7F1947 #7F1E19
triadic
#7F1947 #477F19 #19477F
tetradic
#7F1947 #7A7F19 #197F51 #1E197F
square
#7F1947 #7A7F19 #197F51 #1E197F
split-complementary
#7F1947 #197F1E #197A7F
monochromatic
#1A050E #4C0F2A #7F1947 #B22364 #D83A81
Accessibility & contrast
On white
9.85
#7F1947 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7F1947 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1947
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1947 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1947 | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303748
Deuteranopia (green-blind)
#4C4A45
Tritanopia (blue-blind)
#8A062E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1947; /* rgb */ color: rgb(127, 25, 71); /* oklch */ color: oklch(40.3% 0.141 358.7);
Tailwind
colors: {
custom: {
50: '#a9617a',
500: '#7f1947',
950: '#000000',
},
}SCSS
$custom: #7f1947; $custom-light: #a9617a; $custom-dark: #000000;
JSON
{
"hex": "#7f1947",
"rgb": {
"r": 127,
"g": 25,
"b": 71
},
"hsl": {
"h": 332.941,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.40257,
"c": 0.1411,
"h": 358.7
},
"luminance": 0.05662
}Semantic roles & 50–950 ramp
primary
#7F1947
secondary
#41B380
accent
#EA9C3E
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B