#7D1F4E#7D1F4E
#7D1F4E is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.136 H 354.4°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7D1F4E |
|---|---|
| RGB | rgb(125, 31, 78) |
| HSL | hsl(330, 60%, 31%) |
| HSV | hsv(330, 75%, 49%) |
| CMYK | cmyk(0%, 75.2%, 37.6%, 51%) |
| CIE-LAB | lab(29.14, 44.01, -5.24) |
| CIE-LCH | lch(29.14, 44.32, 353.21°) |
| OKLab | oklab(40.7% 0.1349 -0.0133) |
| OKLCH | oklch(40.7% 0.136 354.4) |
| XYZ | xyz(10.3232, 5.8912, 7.7997) |
| Luminance | 0.0589 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.87
Reddish Purple
#910951
ΔE00 4.03
Wine (survey)
#80013F
ΔE00 4.41
Mulberry
#920A4E
ΔE00 4.45
Velvet
#750851
ΔE00 4.76
Dark Magenta
#960056
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D1F4E #1F7D4E
analogous
#7D1F7D #7D1F4E #7D1F1F
triadic
#7D1F4E #4E7D1F #1F4E7D
tetradic
#7D1F4E #7D7D1F #1F7D4E #1F1F7D
square
#7D1F4E #7D7D1F #1F7D4E #1F1F7D
split-complementary
#7D1F4E #1F7D1F #1F7D7D
monochromatic
#1B0711 #4C132F #7D1F4E #AE2B6D #D1458B
Accessibility & contrast
On white
9.64
#7D1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7D1F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D1F4E
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D1F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D1F4E | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303A4F
Deuteranopia (green-blind)
#4B4B4C
Tritanopia (blue-blind)
#871633
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7d1f4e; /* rgb */ color: rgb(125, 31, 78); /* oklch */ color: oklch(40.7% 0.136 354.4);
Tailwind
colors: {
custom: {
50: '#a7647f',
500: '#7d1f4e',
950: '#000000',
},
}SCSS
$custom: #7d1f4e; $custom-light: #a7647f; $custom-dark: #000000;
JSON
{
"hex": "#7d1f4e",
"rgb": {
"r": 125,
"g": 31,
"b": 78
},
"hsl": {
"h": 330,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.40697,
"c": 0.13557,
"h": 354.4
},
"luminance": 0.0589
}Semantic roles & 50–950 ramp
primary
#7D1F4E
secondary
#48B07C
accent
#E39444
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C