#7F1D47#7F1D47
#7F1D47 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.137 H 359.4°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1D47 |
|---|---|
| RGB | rgb(127, 29, 71) |
| HSL | hsl(334, 63%, 31%) |
| HSV | hsv(334, 77%, 50%) |
| CMYK | cmyk(0%, 77.2%, 44.1%, 50.2%) |
| CIE-LAB | lab(29.02, 44.55, -0.72) |
| CIE-LCH | lch(29.02, 44.55, 359.08°) |
| OKLab | oklab(40.61% 0.1368 -0.0013) |
| OKLCH | oklch(40.61% 0.137 359.4) |
| XYZ | xyz(10.3299, 5.8470, 6.5446) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.40
Wine (survey)
#80013F
ΔE00 2.83
Mulberry
#920A4E
ΔE00 3.76
Reddish Purple
#910951
ΔE00 3.94
Merlot
#730039
ΔE00 4.24
Berry
#990F4B
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1D47 #1D7F55
analogous
#7F1D78 #7F1D47 #7F241D
triadic
#7F1D47 #477F1D #1D477F
tetradic
#7F1D47 #787F1D #1D7F55 #241D7F
square
#7F1D47 #787F1D #1D7F55 #241D7F
split-complementary
#7F1D47 #1D7F24 #1D787F
monochromatic
#1B060F #4D122B #7F1D47 #B12863 #D44281
Accessibility & contrast
On white
9.68
#7F1D47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7F1D47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1D47
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1D47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1D47 | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323848
Deuteranopia (green-blind)
#4D4B45
Tritanopia (blue-blind)
#8A0D2F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1d47; /* rgb */ color: rgb(127, 29, 71); /* oklch */ color: oklch(40.6% 0.137 359.4);
Tailwind
colors: {
custom: {
50: '#a9637a',
500: '#7f1d47',
950: '#000000',
},
}SCSS
$custom: #7f1d47; $custom-light: #a9637a; $custom-dark: #000000;
JSON
{
"hex": "#7f1d47",
"rgb": {
"r": 127,
"g": 29,
"b": 71
},
"hsl": {
"h": 334.286,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.40606,
"c": 0.13677,
"h": 359.4
},
"luminance": 0.05846
}Semantic roles & 50–950 ramp
primary
#7F1D47
secondary
#45B284
accent
#E6A042
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B