#7D1C4D#7D1C4D
#7D1C4D is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.139 H 354.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7D1C4D |
|---|---|
| RGB | rgb(125, 28, 77) |
| HSL | hsl(330, 63%, 30%) |
| HSV | hsv(330, 78%, 49%) |
| CMYK | cmyk(0%, 77.6%, 38.4%, 51%) |
| CIE-LAB | lab(28.71, 44.97, -5.21) |
| CIE-LCH | lch(28.71, 45.27, 353.39°) |
| OKLab | oklab(40.38% 0.138 -0.0132) |
| OKLCH | oklch(40.38% 0.139 354.5) |
| XYZ | xyz(10.2129, 5.7276, 7.5875) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.49
Reddish Purple
#910951
ΔE00 3.90
Wine (survey)
#80013F
ΔE00 4.10
Mulberry
#920A4E
ΔE00 4.34
Velvet
#750851
ΔE00 4.53
Dark Magenta
#960056
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D1C4D #1C7D4C
analogous
#7D1C7D #7D1C4D #7D1C1C
triadic
#7D1C4D #4D7D1C #1C4D7D
tetradic
#7D1C4D #7D7D1C #1C7D4C #1C1C7D
square
#7D1C4D #7D7D1C #1C7D4C #1C1C7D
split-complementary
#7D1C4D #1C7D1C #1C7D7D
monochromatic
#19060F #4B112E #7D1C4D #AF276C #D43F8A
Accessibility & contrast
On white
9.79
#7D1C4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7D1C4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D1C4D
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D1C4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D1C4D | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F384E
Deuteranopia (green-blind)
#4A4A4B
Tritanopia (blue-blind)
#871132
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7d1c4d; /* rgb */ color: rgb(125, 28, 77); /* oklch */ color: oklch(40.4% 0.139 354.5);
Tailwind
colors: {
custom: {
50: '#a7627e',
500: '#7d1c4d',
950: '#000000',
},
}SCSS
$custom: #7d1c4d; $custom-light: #a7627e; $custom-dark: #000000;
JSON
{
"hex": "#7d1c4d",
"rgb": {
"r": 125,
"g": 28,
"b": 77
},
"hsl": {
"h": 329.691,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.40376,
"c": 0.13867,
"h": 354.5
},
"luminance": 0.05726
}Semantic roles & 50–950 ramp
primary
#7D1C4D
secondary
#44B17A
accent
#E69341
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C