#7F1640#7F1640
#7F1640 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.142 H 2.8°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1640 |
|---|---|
| RGB | rgb(127, 22, 64) |
| HSL | hsl(336, 70%, 29%) |
| HSV | hsv(336, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 49.6%, 50.2%) |
| CIE-LAB | lab(28.00, 46.12, 2.48) |
| CIE-LCH | lch(28.00, 46.18, 3.08°) |
| OKLab | oklab(39.78% 0.1415 0.0068) |
| OKLCH | oklch(39.78% 0.142 2.8) |
| XYZ | xyz(9.9656, 5.4574, 5.3781) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.90
Red Purple
#820747
ΔE00 2.98
Merlot
#730039
ΔE00 3.53
Mulberry
#920A4E
ΔE00 4.28
Reddish Purple
#910951
ΔE00 4.79
Purple Red
#990147
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1640 #167F55
analogous
#7F1675 #7F1640 #7F2116
triadic
#7F1640 #407F16 #16407F
tetradic
#7F1640 #757F16 #167F55 #21167F
square
#7F1640 #757F16 #167F55 #21167F
split-complementary
#7F1640 #167F21 #16757F
monochromatic
#1A050D #4B0D26 #7F1640 #B31F5A #DC3477
Accessibility & contrast
On white
10.04
#7F1640 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7F1640 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1640
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1640 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1640 | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313541
Deuteranopia (green-blind)
#4C493E
Tritanopia (blue-blind)
#8B0029
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f1640; /* rgb */ color: rgb(127, 22, 64); /* oklch */ color: oklch(39.8% 0.142 2.8);
Tailwind
colors: {
custom: {
50: '#a96074',
500: '#7f1640',
950: '#000000',
},
}SCSS
$custom: #7f1640; $custom-light: #a96074; $custom-dark: #000000;
JSON
{
"hex": "#7f1640",
"rgb": {
"r": 127,
"g": 22,
"b": 64
},
"hsl": {
"h": 336,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.39782,
"c": 0.14164,
"h": 2.8
},
"luminance": 0.05456
}Semantic roles & 50–950 ramp
primary
#7F1640
secondary
#3DB484
accent
#EDA63B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110508
muted
#807A7B