#7F1557#7F1557
#7F1557 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.153 H 348.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1557 |
|---|---|
| RGB | rgb(127, 21, 87) |
| HSL | hsl(323, 72%, 29%) |
| HSV | hsv(323, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 31.5%, 50.2%) |
| CIE-LAB | lab(28.74, 48.89, -11.74) |
| CIE-LCH | lch(28.74, 50.28, 346.49°) |
| OKLab | oklab(40.6% 0.1495 -0.0309) |
| OKLCH | oklch(40.6% 0.153 348.3) |
| XYZ | xyz(10.7414, 5.7377, 9.5568) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.57
Rich Purple
#720058
ΔE00 4.49
Red Purple
#820747
ΔE00 4.57
Reddish Purple
#910951
ΔE00 4.96
Dark Magenta
#960056
ΔE00 5.02
Red Violet
#9E0168
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1557 #157F3D
analogous
#72157F #7F1557 #7F1522
triadic
#7F1557 #577F15 #15577F
tetradic
#7F1557 #7F7215 #157F3D #15227F
square
#7F1557 #7F7215 #157F3D #15227F
split-complementary
#7F1557 #227F15 #157F72
monochromatic
#1A0412 #4A0C33 #7F1557 #B41E7B #DD319C
Accessibility & contrast
On white
9.78
#7F1557 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7F1557 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1557
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1557 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1557 | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#273859
Deuteranopia (green-blind)
#474A55
Tritanopia (blue-blind)
#890E35
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1557; /* rgb */ color: rgb(127, 21, 87); /* oklch */ color: oklch(40.6% 0.153 348.3);
Tailwind
colors: {
custom: {
50: '#a86086',
500: '#7f1557',
950: '#000000',
},
}SCSS
$custom: #7f1557; $custom-light: #a86086; $custom-dark: #000000;
JSON
{
"hex": "#7f1557",
"rgb": {
"r": 127,
"g": 21,
"b": 87
},
"hsl": {
"h": 322.642,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.40597,
"c": 0.15261,
"h": 348.3
},
"luminance": 0.05736
}Semantic roles & 50–950 ramp
primary
#7F1557
secondary
#3CB469
accent
#EE7E39
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C