#7F1651#7F1651
#7F1651 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.148 H 352.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1651 |
|---|---|
| RGB | rgb(127, 22, 81) |
| HSL | hsl(326, 70%, 29%) |
| HSV | hsv(326, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 36.2%, 50.2%) |
| CIE-LAB | lab(28.59, 47.89, -8.00) |
| CIE-LCH | lch(28.59, 48.56, 350.51°) |
| OKLab | oklab(40.41% 0.147 -0.0207) |
| OKLCH | oklch(40.41% 0.148 352) |
| XYZ | xyz(10.5252, 5.6812, 8.3253) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.96
Velvet
#750851
ΔE00 3.35
Reddish Purple
#910951
ΔE00 3.89
Dark Magenta
#960056
ΔE00 4.38
Mulberry
#920A4E
ΔE00 4.64
Wine (survey)
#80013F
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1651 #167F44
analogous
#79167F #7F1651 #7F161C
triadic
#7F1651 #517F16 #16517F
tetradic
#7F1651 #7F7916 #167F44 #161C7F
square
#7F1651 #7F7916 #167F44 #161C7F
split-complementary
#7F1651 #1C7F16 #167F79
monochromatic
#1A0511 #4B0D30 #7F1651 #B31F72 #DC3492
Accessibility & contrast
On white
9.83
#7F1651 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7F1651 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1651
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1651 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1651 | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3752
Deuteranopia (green-blind)
#494A4F
Tritanopia (blue-blind)
#890A32
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1651; /* rgb */ color: rgb(127, 22, 81); /* oklch */ color: oklch(40.4% 0.148 352.0);
Tailwind
colors: {
custom: {
50: '#a86081',
500: '#7f1651',
950: '#000000',
},
}SCSS
$custom: #7f1651; $custom-light: #a86081; $custom-dark: #000000;
JSON
{
"hex": "#7f1651",
"rgb": {
"r": 127,
"g": 22,
"b": 81
},
"hsl": {
"h": 326.286,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.4041,
"c": 0.14849,
"h": 352
},
"luminance": 0.0568
}Semantic roles & 50–950 ramp
primary
#7F1651
secondary
#3DB471
accent
#ED893B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C