#7D1F40#7D1F40
#7D1F40 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.130 H 4.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7D1F40 |
|---|---|
| RGB | rgb(125, 31, 64) |
| HSL | hsl(339, 60%, 31%) |
| HSV | hsv(339, 75%, 49%) |
| CMYK | cmyk(0%, 75.2%, 48.8%, 51%) |
| CIE-LAB | lab(28.67, 42.49, 3.40) |
| CIE-LCH | lch(28.67, 42.63, 4.57°) |
| OKLab | oklab(40.2% 0.13 0.0091) |
| OKLCH | oklch(40.2% 0.13 4) |
| XYZ | xyz(9.8737, 5.7114, 5.4320) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.31
Red Purple
#820747
ΔE00 4.20
Merlot
#730039
ΔE00 4.48
Mulberry
#920A4E
ΔE00 5.12
Red Wine
#8C0034
ΔE00 5.37
Bordeaux
#7B002C
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D1F40 #1F7D5C
analogous
#7D1F6F #7D1F40 #7D2D1F
triadic
#7D1F40 #407D1F #1F407D
tetradic
#7D1F40 #6F7D1F #1F7D5C #2D1F7D
square
#7D1F40 #6F7D1F #1F7D5C #2D1F7D
split-complementary
#7D1F40 #1F7D2D #1F6F7D
monochromatic
#1B070E #4C1327 #7D1F40 #AE2B59 #D14576
Accessibility & contrast
On white
9.80
#7D1F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7D1F40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D1F40
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D1F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D1F40 | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353841
Deuteranopia (green-blind)
#4E4A3E
Tritanopia (blue-blind)
#880E2D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7d1f40; /* rgb */ color: rgb(125, 31, 64); /* oklch */ color: oklch(40.2% 0.130 4.0);
Tailwind
colors: {
custom: {
50: '#a76374',
500: '#7d1f40',
950: '#000000',
},
}SCSS
$custom: #7d1f40; $custom-light: #a76374; $custom-dark: #000000;
JSON
{
"hex": "#7d1f40",
"rgb": {
"r": 125,
"g": 31,
"b": 64
},
"hsl": {
"h": 338.936,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.40204,
"c": 0.1303,
"h": 4
},
"luminance": 0.0571
}Semantic roles & 50–950 ramp
primary
#7D1F40
secondary
#48B08B
accent
#E3AC44
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B