#7F1556#7F1556
#7F1556 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.152 H 348.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1556 |
|---|---|
| RGB | rgb(127, 21, 86) |
| HSL | hsl(323, 72%, 29%) |
| HSV | hsv(323, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 32.3%, 50.2%) |
| CIE-LAB | lab(28.70, 48.77, -11.15) |
| CIE-LCH | lch(28.70, 50.02, 347.12°) |
| OKLab | oklab(40.55% 0.1492 -0.0292) |
| OKLCH | oklch(40.55% 0.152 348.9) |
| XYZ | xyz(10.7009, 5.7215, 9.3431) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.61
Red Purple
#820747
ΔE00 4.31
Rich Purple
#720058
ΔE00 4.67
Reddish Purple
#910951
ΔE00 4.77
Dark Magenta
#960056
ΔE00 4.88
Mulberry
#920A4E
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1556 #157F3E
analogous
#73157F #7F1556 #7F1521
triadic
#7F1556 #567F15 #15567F
tetradic
#7F1556 #7F7315 #157F3E #15217F
square
#7F1556 #7F7315 #157F3E #15217F
split-complementary
#7F1556 #217F15 #157F73
monochromatic
#1A0412 #4A0C32 #7F1556 #B41E7A #DD319B
Accessibility & contrast
On white
9.79
#7F1556 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7F1556 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1556
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1556 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1556 | 1.00 | 9.79 | 2.14 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#283858
Deuteranopia (green-blind)
#474A54
Tritanopia (blue-blind)
#890D34
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1556; /* rgb */ color: rgb(127, 21, 86); /* oklch */ color: oklch(40.6% 0.152 348.9);
Tailwind
colors: {
custom: {
50: '#a86085',
500: '#7f1556',
950: '#000000',
},
}SCSS
$custom: #7f1556; $custom-light: #a86085; $custom-dark: #000000;
JSON
{
"hex": "#7f1556",
"rgb": {
"r": 127,
"g": 21,
"b": 86
},
"hsl": {
"h": 323.208,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.40553,
"c": 0.15206,
"h": 348.9
},
"luminance": 0.0572
}Semantic roles & 50–950 ramp
primary
#7F1556
secondary
#3CB46A
accent
#EE7F39
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C