#7F1540#7F1540
#7F1540 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.143 H 2.6°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1540 |
|---|---|
| RGB | rgb(127, 21, 64) |
| HSL | hsl(336, 72%, 29%) |
| HSV | hsv(336, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 49.6%, 50.2%) |
| CIE-LAB | lab(27.90, 46.40, 2.33) |
| CIE-LCH | lch(27.90, 46.46, 2.88°) |
| OKLab | oklab(39.71% 0.1424 0.0065) |
| OKLCH | oklch(39.71% 0.143 2.6) |
| XYZ | xyz(9.9468, 5.4199, 5.3719) |
| Luminance | 0.0542 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.75
Red Purple
#820747
ΔE00 2.86
Merlot
#730039
ΔE00 3.42
Mulberry
#920A4E
ΔE00 4.24
Reddish Purple
#910951
ΔE00 4.73
Purple Red
#990147
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1540 #157F54
analogous
#7F1575 #7F1540 #7F1F15
triadic
#7F1540 #407F15 #15407F
tetradic
#7F1540 #757F15 #157F54 #1F157F
square
#7F1540 #757F15 #157F54 #1F157F
split-complementary
#7F1540 #157F1F #15757F
monochromatic
#1A040D #4A0C26 #7F1540 #B41E5A #DD3177
Accessibility & contrast
On white
10.08
#7F1540 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7F1540 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1540
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1540 | 1.00 | 10.08 | 2.08 | 10.08 |
| #FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303541
Deuteranopia (green-blind)
#4C493E
Tritanopia (blue-blind)
#8B0029
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f1540; /* rgb */ color: rgb(127, 21, 64); /* oklch */ color: oklch(39.7% 0.143 2.6);
Tailwind
colors: {
custom: {
50: '#a96074',
500: '#7f1540',
950: '#000000',
},
}SCSS
$custom: #7f1540; $custom-light: #a96074; $custom-dark: #000000;
JSON
{
"hex": "#7f1540",
"rgb": {
"r": 127,
"g": 21,
"b": 64
},
"hsl": {
"h": 335.66,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.39708,
"c": 0.14256,
"h": 2.6
},
"luminance": 0.05419
}Semantic roles & 50–950 ramp
primary
#7F1540
secondary
#3CB483
accent
#EEA539
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110508
muted
#807A7B