#7F1A4E#7F1A4E
#7F1A4E is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.143 H 354.4°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1A4E |
|---|---|
| RGB | rgb(127, 26, 78) |
| HSL | hsl(329, 66%, 30%) |
| HSV | hsv(329, 80%, 50%) |
| CMYK | cmyk(0%, 79.5%, 38.6%, 50.2%) |
| CIE-LAB | lab(28.91, 46.33, -5.54) |
| CIE-LCH | lch(28.91, 46.66, 353.18°) |
| OKLab | oklab(40.6% 0.1423 -0.014) |
| OKLCH | oklch(40.6% 0.143 354.4) |
| XYZ | xyz(10.4976, 5.8022, 7.7734) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.31
Reddish Purple
#910951
ΔE00 3.52
Mulberry
#920A4E
ΔE00 4.03
Wine (survey)
#80013F
ΔE00 4.09
Dark Magenta
#960056
ΔE00 4.35
Velvet
#750851
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1A4E #1A7F4B
analogous
#7E1A7F #7F1A4E #7F1A1B
triadic
#7F1A4E #4E7F1A #1A4E7F
tetradic
#7F1A4E #7F7E1A #1A7F4B #1A1B7F
square
#7F1A4E #7F7E1A #1A7F4B #1A1B7F
split-complementary
#7F1A4E #1B7F1A #1A7F7E
monochromatic
#190510 #4C102F #7F1A4E #B2246D #D73C8C
Accessibility & contrast
On white
9.72
#7F1A4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7F1A4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1A4E
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1A4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1A4E | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E384F
Deuteranopia (green-blind)
#4B4B4C
Tritanopia (blue-blind)
#890E31
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1a4e; /* rgb */ color: rgb(127, 26, 78); /* oklch */ color: oklch(40.6% 0.143 354.4);
Tailwind
colors: {
custom: {
50: '#a8627f',
500: '#7f1a4e',
950: '#000000',
},
}SCSS
$custom: #7f1a4e; $custom-light: #a8627f; $custom-dark: #000000;
JSON
{
"hex": "#7f1a4e",
"rgb": {
"r": 127,
"g": 26,
"b": 78
},
"hsl": {
"h": 329.109,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.40602,
"c": 0.143,
"h": 354.4
},
"luminance": 0.05801
}Semantic roles & 50–950 ramp
primary
#7F1A4E
secondary
#42B379
accent
#E9913F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C