#7D1F4D#7D1F4D
#7D1F4D is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.135 H 355.0°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7D1F4D |
|---|---|
| RGB | rgb(125, 31, 77) |
| HSL | hsl(331, 60%, 31%) |
| HSV | hsv(331, 75%, 49%) |
| CMYK | cmyk(0%, 75.2%, 38.4%, 51%) |
| CIE-LAB | lab(29.10, 43.89, -4.63) |
| CIE-LCH | lch(29.10, 44.13, 353.97°) |
| OKLab | oklab(40.66% 0.1346 -0.0117) |
| OKLCH | oklch(40.66% 0.135 355) |
| XYZ | xyz(10.2876, 5.8770, 7.6124) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.74
Reddish Purple
#910951
ΔE00 4.00
Wine (survey)
#80013F
ΔE00 4.19
Mulberry
#920A4E
ΔE00 4.35
Dark Magenta
#960056
ΔE00 4.92
Velvet
#750851
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D1F4D #1F7D4F
analogous
#7D1F7C #7D1F4D #7D201F
triadic
#7D1F4D #4D7D1F #1F4D7D
tetradic
#7D1F4D #7C7D1F #1F7D4F #201F7D
square
#7D1F4D #7C7D1F #1F7D4F #201F7D
split-complementary
#7D1F4D #1F7D20 #1F7C7D
monochromatic
#1B0711 #4C132F #7D1F4D #AE2B6B #D1458A
Accessibility & contrast
On white
9.65
#7D1F4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7D1F4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D1F4D
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D1F4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D1F4D | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313A4E
Deuteranopia (green-blind)
#4B4B4B
Tritanopia (blue-blind)
#871533
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7d1f4d; /* rgb */ color: rgb(125, 31, 77); /* oklch */ color: oklch(40.7% 0.135 355.0);
Tailwind
colors: {
custom: {
50: '#a7647e',
500: '#7d1f4d',
950: '#000000',
},
}SCSS
$custom: #7d1f4d; $custom-light: #a7647e; $custom-dark: #000000;
JSON
{
"hex": "#7d1f4d",
"rgb": {
"r": 125,
"g": 31,
"b": 77
},
"hsl": {
"h": 330.638,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.40658,
"c": 0.1351,
"h": 355
},
"luminance": 0.05876
}Semantic roles & 50–950 ramp
primary
#7D1F4D
secondary
#48B07D
accent
#E39644
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C