#7F1440#7F1440
#7F1440 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.143 H 2.4°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1440 |
|---|---|
| RGB | rgb(127, 20, 64) |
| HSL | hsl(335, 73%, 29%) |
| HSV | hsv(335, 84%, 50%) |
| CMYK | cmyk(0%, 84.3%, 49.6%, 50.2%) |
| CIE-LAB | lab(27.80, 46.68, 2.19) |
| CIE-LCH | lch(27.80, 46.73, 2.69°) |
| OKLab | oklab(39.64% 0.1433 0.0061) |
| OKLCH | oklch(39.64% 0.143 2.4) |
| XYZ | xyz(9.9288, 5.3839, 5.3659) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.62
Red Purple
#820747
ΔE00 2.74
Merlot
#730039
ΔE00 3.32
Mulberry
#920A4E
ΔE00 4.20
Reddish Purple
#910951
ΔE00 4.68
Purple Red
#990147
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1440 #147F53
analogous
#7F1476 #7F1440 #7F1E14
triadic
#7F1440 #407F14 #14407F
tetradic
#7F1440 #767F14 #147F53 #1E147F
square
#7F1440 #767F14 #147F53 #1E147F
split-complementary
#7F1440 #147F1E #14767F
monochromatic
#1A040D #4A0C25 #7F1440 #B41C5B #DE2F77
Accessibility & contrast
On white
10.11
#7F1440 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7F1440 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1440
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1440 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1440 | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303441
Deuteranopia (green-blind)
#4C493E
Tritanopia (blue-blind)
#8B0028
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f1440; /* rgb */ color: rgb(127, 20, 64); /* oklch */ color: oklch(39.6% 0.143 2.4);
Tailwind
colors: {
custom: {
50: '#a95f74',
500: '#7f1440',
950: '#000000',
},
}SCSS
$custom: #7f1440; $custom-light: #a95f74; $custom-dark: #000000;
JSON
{
"hex": "#7f1440",
"rgb": {
"r": 127,
"g": 20,
"b": 64
},
"hsl": {
"h": 335.327,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.39637,
"c": 0.14344,
"h": 2.4
},
"luminance": 0.05383
}Semantic roles & 50–950 ramp
primary
#7F1440
secondary
#3BB482
accent
#EFA438
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B