#7F1D4E#7F1D4E
#7F1D4E is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.140 H 354.8°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1D4E |
|---|---|
| RGB | rgb(127, 29, 78) |
| HSL | hsl(330, 63%, 31%) |
| HSV | hsv(330, 77%, 50%) |
| CMYK | cmyk(0%, 77.2%, 38.6%, 50.2%) |
| CIE-LAB | lab(29.27, 45.31, -5.01) |
| CIE-LCH | lch(29.27, 45.59, 353.70°) |
| OKLab | oklab(40.86% 0.1391 -0.0126) |
| OKLCH | oklch(40.86% 0.14 354.8) |
| XYZ | xyz(10.5676, 5.9421, 7.7967) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.50
Reddish Purple
#910951
ΔE00 3.57
Mulberry
#920A4E
ΔE00 4.00
Wine (survey)
#80013F
ΔE00 4.14
Dark Magenta
#960056
ΔE00 4.45
Velvet
#750851
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1D4E #1D7F4E
analogous
#7F1D7F #7F1D4E #7F1D1D
triadic
#7F1D4E #4E7F1D #1D4E7F
tetradic
#7F1D4E #7F7F1D #1D7F4E #1D1D7F
square
#7F1D4E #7F7F1D #1D7F4E #1D1D7F
split-complementary
#7F1D4E #1D7F1D #1D7F7F
monochromatic
#1B0611 #4D122F #7F1D4E #B1286D #D4428B
Accessibility & contrast
On white
9.60
#7F1D4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7F1D4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1D4E
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1D4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1D4E | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#30394F
Deuteranopia (green-blind)
#4B4C4C
Tritanopia (blue-blind)
#891233
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f1d4e; /* rgb */ color: rgb(127, 29, 78); /* oklch */ color: oklch(40.9% 0.140 354.8);
Tailwind
colors: {
custom: {
50: '#a8637f',
500: '#7f1d4e',
950: '#000000',
},
}SCSS
$custom: #7f1d4e; $custom-light: #a8637f; $custom-dark: #000000;
JSON
{
"hex": "#7f1d4e",
"rgb": {
"r": 127,
"g": 29,
"b": 78
},
"hsl": {
"h": 330,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.40864,
"c": 0.13966,
"h": 354.8
},
"luminance": 0.05941
}Semantic roles & 50–950 ramp
primary
#7F1D4E
secondary
#45B27C
accent
#E69442
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C