#7F1140#7F1140
#7F1140 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.146 H 2.0°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1140 |
|---|---|
| RGB | rgb(127, 17, 64) |
| HSL | hsl(334, 76%, 28%) |
| HSV | hsv(334, 87%, 50%) |
| CMYK | cmyk(0%, 86.6%, 49.6%, 50.2%) |
| CIE-LAB | lab(27.53, 47.46, 1.80) |
| CIE-LCH | lch(27.53, 47.49, 2.17°) |
| OKLab | oklab(39.44% 0.1458 0.0051) |
| OKLCH | oklch(39.44% 0.146 2) |
| XYZ | xyz(9.8791, 5.2845, 5.3493) |
| Luminance | 0.0528 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.25
Red Purple
#820747
ΔE00 2.44
Merlot
#730039
ΔE00 3.07
Mulberry
#920A4E
ΔE00 4.12
Reddish Purple
#910951
ΔE00 4.55
Purple Red
#990147
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1140 #117F50
analogous
#7F1177 #7F1140 #7F1911
triadic
#7F1140 #407F11 #11407F
tetradic
#7F1140 #777F11 #117F50 #19117F
square
#7F1140 #777F11 #117F50 #19117F
split-complementary
#7F1140 #117F19 #11777F
monochromatic
#1B040E #490A25 #7F1140 #B5185B #E22878
Accessibility & contrast
On white
10.21
#7F1140 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7F1140 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1140
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1140 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1140 | 1.00 | 10.21 | 2.06 | 10.21 |
| #FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3441
Deuteranopia (green-blind)
#4B483D
Tritanopia (blue-blind)
#8B0027
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1140; /* rgb */ color: rgb(127, 17, 64); /* oklch */ color: oklch(39.4% 0.146 2.0);
Tailwind
colors: {
custom: {
50: '#aa5e74',
500: '#7f1140',
950: '#000000',
},
}SCSS
$custom: #7f1140; $custom-light: #aa5e74; $custom-dark: #000000;
JSON
{
"hex": "#7f1140",
"rgb": {
"r": 127,
"g": 17,
"b": 64
},
"hsl": {
"h": 334.364,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.39438,
"c": 0.1459,
"h": 2
},
"luminance": 0.05283
}Semantic roles & 50–950 ramp
primary
#7F1140
secondary
#37B57F
accent
#F3A235
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B