#7F1751#7F1751
#7F1751 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.148 H 352.1°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1751 |
|---|---|
| RGB | rgb(127, 23, 81) |
| HSL | hsl(327, 69%, 29%) |
| HSV | hsv(327, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 36.2%, 50.2%) |
| CIE-LAB | lab(28.70, 47.60, -7.85) |
| CIE-LCH | lch(28.70, 48.24, 350.64°) |
| OKLab | oklab(40.48% 0.1461 -0.0202) |
| OKLCH | oklch(40.48% 0.148 352.1) |
| XYZ | xyz(10.5447, 5.7202, 8.3318) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.96
Velvet
#750851
ΔE00 3.45
Reddish Purple
#910951
ΔE00 3.86
Dark Magenta
#960056
ΔE00 4.37
Mulberry
#920A4E
ΔE00 4.60
Wine (survey)
#80013F
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1751 #177F45
analogous
#79177F #7F1751 #7F171D
triadic
#7F1751 #517F17 #17517F
tetradic
#7F1751 #7F7917 #177F45 #171D7F
square
#7F1751 #7F7917 #177F45 #171D7F
split-complementary
#7F1751 #1D7F17 #177F79
monochromatic
#1A0511 #4B0E30 #7F1751 #B32072 #DB3692
Accessibility & contrast
On white
9.80
#7F1751 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7F1751 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1751
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1751 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1751 | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3852
Deuteranopia (green-blind)
#494A4F
Tritanopia (blue-blind)
#890B32
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1751; /* rgb */ color: rgb(127, 23, 81); /* oklch */ color: oklch(40.5% 0.148 352.1);
Tailwind
colors: {
custom: {
50: '#a86181',
500: '#7f1751',
950: '#000000',
},
}SCSS
$custom: #7f1751; $custom-light: #a86181; $custom-dark: #000000;
JSON
{
"hex": "#7f1751",
"rgb": {
"r": 127,
"g": 23,
"b": 81
},
"hsl": {
"h": 326.538,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.40484,
"c": 0.14753,
"h": 352.1
},
"luminance": 0.05719
}Semantic roles & 50–950 ramp
primary
#7F1751
secondary
#3EB472
accent
#EC8A3C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C