#7F1559#7F1559
#7F1559 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.154 H 347.2°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1559 |
|---|---|
| RGB | rgb(127, 21, 89) |
| HSL | hsl(322, 72%, 29%) |
| HSV | hsv(322, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 29.9%, 50.2%) |
| CIE-LAB | lab(28.83, 49.14, -12.93) |
| CIE-LCH | lch(28.83, 50.81, 345.26°) |
| OKLab | oklab(40.69% 0.1499 -0.0342) |
| OKLCH | oklch(40.69% 0.154 347.2) |
| XYZ | xyz(10.8243, 5.7709, 9.9931) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.56
Rich Purple
#720058
ΔE00 4.16
Red Purple
#820747
ΔE00 5.10
Dark Magenta
#960056
ΔE00 5.31
Reddish Purple
#910951
ΔE00 5.37
Red Violet
#9E0168
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1559 #157F3B
analogous
#70157F #7F1559 #7F1524
triadic
#7F1559 #597F15 #15597F
tetradic
#7F1559 #7F7015 #157F3B #15247F
square
#7F1559 #7F7015 #157F3B #15247F
split-complementary
#7F1559 #247F15 #157F70
monochromatic
#1A0412 #4A0C34 #7F1559 #B41E7E #DD319F
Accessibility & contrast
On white
9.75
#7F1559 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7F1559 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1559
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1559 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1559 | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26385B
Deuteranopia (green-blind)
#464A57
Tritanopia (blue-blind)
#881036
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1559; /* rgb */ color: rgb(127, 21, 89); /* oklch */ color: oklch(40.7% 0.154 347.2);
Tailwind
colors: {
custom: {
50: '#a86088',
500: '#7f1559',
950: '#000000',
},
}SCSS
$custom: #7f1559; $custom-light: #a86088; $custom-dark: #000000;
JSON
{
"hex": "#7f1559",
"rgb": {
"r": 127,
"g": 21,
"b": 89
},
"hsl": {
"h": 321.509,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.40687,
"c": 0.15374,
"h": 347.2
},
"luminance": 0.0577
}Semantic roles & 50–950 ramp
primary
#7F1559
secondary
#3CB467
accent
#EE7A39
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C