#7F1D40#7F1D40
#7F1D40 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.135 H 4.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1D40 |
|---|---|
| RGB | rgb(127, 29, 64) |
| HSL | hsl(339, 63%, 31%) |
| HSV | hsv(339, 77%, 50%) |
| CMYK | cmyk(0%, 77.2%, 49.6%, 50.2%) |
| CIE-LAB | lab(28.80, 43.84, 3.64) |
| CIE-LCH | lch(28.80, 43.99, 4.74°) |
| OKLab | oklab(40.37% 0.1342 0.0098) |
| OKLCH | oklch(40.37% 0.135 4.2) |
| XYZ | xyz(10.1180, 5.7623, 5.4289) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.06
Red Purple
#820747
ΔE00 4.02
Merlot
#730039
ΔE00 4.47
Mulberry
#920A4E
ΔE00 4.79
Purple Red
#990147
ΔE00 4.98
Berry
#990F4B
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1D40 #1D7F5C
analogous
#7F1D71 #7F1D40 #7F2B1D
triadic
#7F1D40 #407F1D #1D407F
tetradic
#7F1D40 #717F1D #1D7F5C #2B1D7F
square
#7F1D40 #717F1D #1D7F5C #2B1D7F
split-complementary
#7F1D40 #1D7F2B #1D717F
monochromatic
#1B060E #4D1227 #7F1D40 #B12859 #D44276
Accessibility & contrast
On white
9.76
#7F1D40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7F1D40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1D40
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1D40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1D40 | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343841
Deuteranopia (green-blind)
#4E4B3E
Tritanopia (blue-blind)
#8B082C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1d40; /* rgb */ color: rgb(127, 29, 64); /* oklch */ color: oklch(40.4% 0.135 4.2);
Tailwind
colors: {
custom: {
50: '#a96374',
500: '#7f1d40',
950: '#000000',
},
}SCSS
$custom: #7f1d40; $custom-light: #a96374; $custom-dark: #000000;
JSON
{
"hex": "#7f1d40",
"rgb": {
"r": 127,
"g": 29,
"b": 64
},
"hsl": {
"h": 338.571,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.40374,
"c": 0.13452,
"h": 4.2
},
"luminance": 0.05761
}Semantic roles & 50–950 ramp
primary
#7F1D40
secondary
#45B28B
accent
#E6AB42
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110608
muted
#807A7B