#7D1F54#7D1F54
#7D1F54 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.139 H 350.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #7D1F54 |
|---|---|
| RGB | rgb(125, 31, 84) |
| HSL | hsl(326, 60%, 31%) |
| HSV | hsv(326, 75%, 49%) |
| CMYK | cmyk(0%, 75.2%, 32.8%, 51%) |
| CIE-LAB | lab(29.36, 44.74, -8.86) |
| CIE-LCH | lch(29.36, 45.61, 348.80°) |
| OKLab | oklab(40.94% 0.1367 -0.023) |
| OKLCH | oklch(40.94% 0.139 350.4) |
| XYZ | xyz(10.5482, 5.9812, 8.9848) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.67
Red Purple
#820747
ΔE00 4.04
Reddish Purple
#910951
ΔE00 4.63
Dark Magenta
#960056
ΔE00 5.05
Mulberry
#920A4E
ΔE00 5.36
Wine (survey)
#80013F
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D1F54 #1F7D48
analogous
#771F7D #7D1F54 #7D1F25
triadic
#7D1F54 #547D1F #1F547D
tetradic
#7D1F54 #7D771F #1F7D48 #1F257D
square
#7D1F54 #7D771F #1F7D48 #1F257D
split-complementary
#7D1F54 #257D1F #1F7D77
monochromatic
#1B0712 #4C1333 #7D1F54 #AE2B75 #D14594
Accessibility & contrast
On white
9.56
#7D1F54 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7D1F54 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D1F54
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D1F54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D1F54 | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3B55
Deuteranopia (green-blind)
#494B52
Tritanopia (blue-blind)
#871936
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7d1f54; /* rgb */ color: rgb(125, 31, 84); /* oklch */ color: oklch(40.9% 0.139 350.4);
Tailwind
colors: {
custom: {
50: '#a66484',
500: '#7d1f54',
950: '#000000',
},
}SCSS
$custom: #7d1f54; $custom-light: #a66484; $custom-dark: #000000;
JSON
{
"hex": "#7d1f54",
"rgb": {
"r": 125,
"g": 31,
"b": 84
},
"hsl": {
"h": 326.17,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.4094,
"c": 0.13862,
"h": 350.4
},
"luminance": 0.0598
}Semantic roles & 50–950 ramp
primary
#7D1F54
secondary
#48B075
accent
#E38A44
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C