#7D1F56#7D1F56
#7D1F56 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.140 H 349.1°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #7D1F56 |
|---|---|
| RGB | rgb(125, 31, 86) |
| HSL | hsl(325, 60%, 31%) |
| HSV | hsv(325, 75%, 49%) |
| CMYK | cmyk(0%, 75.2%, 31.2%, 51%) |
| CIE-LAB | lab(29.45, 45.00, -10.05) |
| CIE-LCH | lch(29.45, 46.11, 347.41°) |
| OKLab | oklab(41.02% 0.1372 -0.0263) |
| OKLCH | oklch(41.02% 0.14 349.1) |
| XYZ | xyz(10.6277, 6.0130, 9.4032) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.45
Red Purple
#820747
ΔE00 4.50
Reddish Purple
#910951
ΔE00 4.95
Dark Magenta
#960056
ΔE00 5.23
Rich Purple
#720058
ΔE00 5.51
Mulberry
#920A4E
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D1F56 #1F7D46
analogous
#751F7D #7D1F56 #7D1F27
triadic
#7D1F56 #567D1F #1F567D
tetradic
#7D1F56 #7D751F #1F7D46 #1F277D
square
#7D1F56 #7D751F #1F7D46 #1F277D
split-complementary
#7D1F56 #277D1F #1F7D75
monochromatic
#1B0713 #4C1334 #7D1F56 #AE2B78 #D14597
Accessibility & contrast
On white
9.54
#7D1F56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7D1F56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D1F56
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D1F56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D1F56 | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3B57
Deuteranopia (green-blind)
#494B54
Tritanopia (blue-blind)
#861A37
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7d1f56; /* rgb */ color: rgb(125, 31, 86); /* oklch */ color: oklch(41.0% 0.140 349.1);
Tailwind
colors: {
custom: {
50: '#a66485',
500: '#7d1f56',
950: '#000000',
},
}SCSS
$custom: #7d1f56; $custom-light: #a66485; $custom-dark: #000000;
JSON
{
"hex": "#7d1f56",
"rgb": {
"r": 125,
"g": 31,
"b": 86
},
"hsl": {
"h": 324.894,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.41024,
"c": 0.13973,
"h": 349.1
},
"luminance": 0.06012
}Semantic roles & 50–950 ramp
primary
#7D1F56
secondary
#48B073
accent
#E38644
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C