#7D1F48#7D1F48
#7D1F48 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.133 H 358.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7D1F48 |
|---|---|
| RGB | rgb(125, 31, 72) |
| HSL | hsl(334, 60%, 31%) |
| HSV | hsv(334, 75%, 49%) |
| CMYK | cmyk(0%, 75.2%, 42.4%, 51%) |
| CIE-LAB | lab(28.93, 43.32, -1.57) |
| CIE-LCH | lch(28.93, 43.35, 357.92°) |
| OKLab | oklab(40.47% 0.1329 -0.0036) |
| OKLCH | oklch(40.47% 0.133 358.5) |
| XYZ | xyz(10.1179, 5.8091, 6.7181) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.61
Wine (survey)
#80013F
ΔE00 3.27
Mulberry
#920A4E
ΔE00 4.16
Reddish Purple
#910951
ΔE00 4.21
Merlot
#730039
ΔE00 4.36
Dark Magenta
#960056
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D1F48 #1F7D54
analogous
#7D1F77 #7D1F48 #7D251F
triadic
#7D1F48 #487D1F #1F487D
tetradic
#7D1F48 #777D1F #1F7D54 #251F7D
square
#7D1F48 #777D1F #1F7D54 #251F7D
split-complementary
#7D1F48 #1F7D25 #1F777D
monochromatic
#1B0710 #4C132C #7D1F48 #AE2B64 #D14582
Accessibility & contrast
On white
9.72
#7D1F48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7D1F48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D1F48
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D1F48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D1F48 | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323949
Deuteranopia (green-blind)
#4C4B46
Tritanopia (blue-blind)
#881231
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7d1f48; /* rgb */ color: rgb(125, 31, 72); /* oklch */ color: oklch(40.5% 0.133 358.5);
Tailwind
colors: {
custom: {
50: '#a7637a',
500: '#7d1f48',
950: '#000000',
},
}SCSS
$custom: #7d1f48; $custom-light: #a7637a; $custom-dark: #000000;
JSON
{
"hex": "#7d1f48",
"rgb": {
"r": 125,
"g": 31,
"b": 72
},
"hsl": {
"h": 333.83,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.40473,
"c": 0.13298,
"h": 358.5
},
"luminance": 0.05808
}Semantic roles & 50–950 ramp
primary
#7D1F48
secondary
#48B083
accent
#E39E44
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B