#7D1F58#7D1F58
#7D1F58 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.141 H 347.9°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7D1F58 |
|---|---|
| RGB | rgb(125, 31, 88) |
| HSL | hsl(324, 60%, 31%) |
| HSV | hsv(324, 75%, 49%) |
| CMYK | cmyk(0%, 75.2%, 29.6%, 51%) |
| CIE-LAB | lab(29.53, 45.26, -11.24) |
| CIE-LCH | lch(29.53, 46.63, 346.06°) |
| OKLab | oklab(41.11% 0.1377 -0.0296) |
| OKLCH | oklch(41.11% 0.141 347.9) |
| XYZ | xyz(10.7094, 6.0457, 9.8336) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.33
Red Purple
#820747
ΔE00 4.98
Rich Purple
#720058
ΔE00 5.16
Reddish Purple
#910951
ΔE00 5.30
Dark Magenta
#960056
ΔE00 5.46
Mulberry
#920A4E
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D1F58 #1F7D44
analogous
#731F7D #7D1F58 #7D1F29
triadic
#7D1F58 #587D1F #1F587D
tetradic
#7D1F58 #7D731F #1F7D44 #1F297D
square
#7D1F58 #7D731F #1F7D44 #1F297D
split-complementary
#7D1F58 #297D1F #1F7D73
monochromatic
#1B0713 #4C1335 #7D1F58 #AE2B7B #D1459A
Accessibility & contrast
On white
9.51
#7D1F58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7D1F58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D1F58
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D1F58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D1F58 | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3B5A
Deuteranopia (green-blind)
#484B56
Tritanopia (blue-blind)
#861B38
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7d1f58; /* rgb */ color: rgb(125, 31, 88); /* oklch */ color: oklch(41.1% 0.141 347.9);
Tailwind
colors: {
custom: {
50: '#a66487',
500: '#7d1f58',
950: '#000000',
},
}SCSS
$custom: #7d1f58; $custom-light: #a66487; $custom-dark: #000000;
JSON
{
"hex": "#7d1f58",
"rgb": {
"r": 125,
"g": 31,
"b": 88
},
"hsl": {
"h": 323.617,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.41111,
"c": 0.14088,
"h": 347.9
},
"luminance": 0.06045
}Semantic roles & 50–950 ramp
primary
#7D1F58
secondary
#48B071
accent
#E38344
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C