#7D1F3F#7D1F3F
#7D1F3F is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.130 H 4.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7D1F3F |
|---|---|
| RGB | rgb(125, 31, 63) |
| HSL | hsl(340, 60%, 31%) |
| HSV | hsv(340, 75%, 49%) |
| CMYK | cmyk(0%, 75.2%, 49.6%, 51%) |
| CIE-LAB | lab(28.64, 42.39, 4.02) |
| CIE-LCH | lch(28.64, 42.58, 5.42°) |
| OKLab | oklab(40.17% 0.1296 0.0107) |
| OKLCH | oklch(40.17% 0.13 4.7) |
| XYZ | xyz(9.8455, 5.7001, 5.2835) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.48
Red Purple
#820747
ΔE00 4.48
Merlot
#730039
ΔE00 4.61
Red Wine
#8C0034
ΔE00 5.12
Bordeaux
#7B002C
ΔE00 5.13
Mulberry
#920A4E
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D1F3F #1F7D5D
analogous
#7D1F6E #7D1F3F #7D2E1F
triadic
#7D1F3F #3F7D1F #1F3F7D
tetradic
#7D1F3F #6E7D1F #1F7D5D #2E1F7D
square
#7D1F3F #6E7D1F #1F7D5D #2E1F7D
split-complementary
#7D1F3F #1F7D2E #1F6E7D
monochromatic
#1B070E #4C1326 #7D1F3F #AE2B58 #D14575
Accessibility & contrast
On white
9.81
#7D1F3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7D1F3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D1F3F
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D1F3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D1F3F | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353840
Deuteranopia (green-blind)
#4E4A3D
Tritanopia (blue-blind)
#880D2C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7d1f3f; /* rgb */ color: rgb(125, 31, 63); /* oklch */ color: oklch(40.2% 0.130 4.7);
Tailwind
colors: {
custom: {
50: '#a76373',
500: '#7d1f3f',
950: '#000000',
},
}SCSS
$custom: #7d1f3f; $custom-light: #a76373; $custom-dark: #000000;
JSON
{
"hex": "#7d1f3f",
"rgb": {
"r": 125,
"g": 31,
"b": 63
},
"hsl": {
"h": 339.574,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.40172,
"c": 0.13004,
"h": 4.7
},
"luminance": 0.05699
}Semantic roles & 50–950 ramp
primary
#7D1F3F
secondary
#48B08D
accent
#E3AD44
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B