#7F2140#7F2140
#7F2140 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.8% C 0.130 H 5.2°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2140 |
|---|---|
| RGB | rgb(127, 33, 64) |
| HSL | hsl(340, 59%, 31%) |
| HSV | hsv(340, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 49.6%, 50.2%) |
| CIE-LAB | lab(29.34, 42.35, 4.40) |
| CIE-LCH | lch(29.34, 42.58, 5.94°) |
| OKLab | oklab(40.77% 0.1294 0.0117) |
| OKLCH | oklch(40.77% 0.13 5.2) |
| XYZ | xyz(10.2225, 5.9713, 5.4638) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.85
Red Purple
#820747
ΔE00 4.77
Red Wine
#8C0034
ΔE00 4.97
Merlot
#730039
ΔE00 5.16
Purple Red
#990147
ΔE00 5.20
Berry
#990F4B
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2140 #217F60
analogous
#7F216F #7F2140 #7F3121
triadic
#7F2140 #407F21 #21407F
tetradic
#7F2140 #6F7F21 #217F60 #31217F
square
#7F2140 #6F7F21 #217F60 #31217F
split-complementary
#7F2140 #217F31 #216F7F
monochromatic
#1E080F #4E1428 #7F2140 #B02E58 #D04A76
Accessibility & contrast
On white
9.57
#7F2140 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7F2140 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2140
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2140 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2140 | 1.00 | 9.57 | 2.19 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373941
Deuteranopia (green-blind)
#504C3E
Tritanopia (blue-blind)
#8A102E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f2140; /* rgb */ color: rgb(127, 33, 64); /* oklch */ color: oklch(40.8% 0.130 5.2);
Tailwind
colors: {
custom: {
50: '#a96474',
500: '#7f2140',
950: '#000000',
},
}SCSS
$custom: #7f2140; $custom-light: #a96474; $custom-dark: #000000;
JSON
{
"hex": "#7f2140",
"rgb": {
"r": 127,
"g": 33,
"b": 64
},
"hsl": {
"h": 340.213,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.40769,
"c": 0.12991,
"h": 5.2
},
"luminance": 0.0597
}Semantic roles & 50–950 ramp
primary
#7F2140
secondary
#4AB290
accent
#E2AE46
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110608
muted
#807A7B