#7F2540#7F2540
#7F2540 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.2% C 0.125 H 6.3°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2540 |
|---|---|
| RGB | rgb(127, 37, 64) |
| HSL | hsl(342, 55%, 32%) |
| HSV | hsv(342, 71%, 50%) |
| CMYK | cmyk(0%, 70.9%, 49.6%, 50.2%) |
| CIE-LAB | lab(29.93, 40.72, 5.24) |
| CIE-LCH | lch(29.93, 41.06, 7.33°) |
| OKLab | oklab(41.2% 0.1242 0.0138) |
| OKLCH | oklch(41.2% 0.125 6.3) |
| XYZ | xyz(10.3402, 6.2067, 5.5030) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 4.75
Red Wine
#8C0034
ΔE00 5.05
Wine
#722F37
ΔE00 5.43
Bordeaux
#7B002C
ΔE00 5.47
Berry
#990F4B
ΔE00 5.56
Purple Red
#990147
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2540 #257F64
analogous
#7F256D #7F2540 #7F3725
triadic
#7F2540 #407F25 #25407F
tetradic
#7F2540 #6D7F25 #257F64 #37257F
square
#7F2540 #6D7F25 #257F64 #37257F
split-complementary
#7F2540 #257F37 #256D7F
monochromatic
#200910 #501728 #7F2540 #AE3358 #CD5277
Accessibility & contrast
On white
9.37
#7F2540 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#7F2540 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2540
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2540 | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393B41
Deuteranopia (green-blind)
#514D3E
Tritanopia (blue-blind)
#8A1630
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f2540; /* rgb */ color: rgb(127, 37, 64); /* oklch */ color: oklch(41.2% 0.125 6.3);
Tailwind
colors: {
custom: {
50: '#a96674',
500: '#7f2540',
950: '#000000',
},
}SCSS
$custom: #7f2540; $custom-light: #a96674; $custom-dark: #000000;
JSON
{
"hex": "#7f2540",
"rgb": {
"r": 127,
"g": 37,
"b": 64
},
"hsl": {
"h": 342,
"s": 54.878,
"l": 32.157
},
"oklch": {
"l": 0.41204,
"c": 0.12494,
"h": 6.3
},
"luminance": 0.06205
}Semantic roles & 50–950 ramp
primary
#7F2540
secondary
#4FB193
accent
#DEB24A
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B