#7F1756#7F1756
#7F1756 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.150 H 349.1°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1756 |
|---|---|
| RGB | rgb(127, 23, 86) |
| HSL | hsl(324, 69%, 29%) |
| HSV | hsv(324, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 32.3%, 50.2%) |
| CIE-LAB | lab(28.90, 48.20, -10.85) |
| CIE-LCH | lch(28.90, 49.40, 347.32°) |
| OKLab | oklab(40.7% 0.1474 -0.0284) |
| OKLCH | oklch(40.7% 0.15 349.1) |
| XYZ | xyz(10.7391, 5.7980, 9.3559) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.80
Red Purple
#820747
ΔE00 4.26
Reddish Purple
#910951
ΔE00 4.69
Dark Magenta
#960056
ΔE00 4.83
Rich Purple
#720058
ΔE00 4.87
Mulberry
#920A4E
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1756 #177F40
analogous
#74177F #7F1756 #7F1722
triadic
#7F1756 #567F17 #17567F
tetradic
#7F1756 #7F7417 #177F40 #17227F
square
#7F1756 #7F7417 #177F40 #17227F
split-complementary
#7F1756 #227F17 #177F74
monochromatic
#1A0512 #4B0E33 #7F1756 #B32079 #DB369A
Accessibility & contrast
On white
9.72
#7F1756 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7F1756 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1756
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1756 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1756 | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#293958
Deuteranopia (green-blind)
#484B54
Tritanopia (blue-blind)
#891035
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1756; /* rgb */ color: rgb(127, 23, 86); /* oklch */ color: oklch(40.7% 0.150 349.1);
Tailwind
colors: {
custom: {
50: '#a86185',
500: '#7f1756',
950: '#000000',
},
}SCSS
$custom: #7f1756; $custom-light: #a86185; $custom-dark: #000000;
JSON
{
"hex": "#7f1756",
"rgb": {
"r": 127,
"g": 23,
"b": 86
},
"hsl": {
"h": 323.654,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.40696,
"c": 0.15015,
"h": 349.1
},
"luminance": 0.05797
}Semantic roles & 50–950 ramp
primary
#7F1756
secondary
#3EB46C
accent
#EC813C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C