#7F1757#7F1757
#7F1757 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.151 H 348.5°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1757 |
|---|---|
| RGB | rgb(127, 23, 87) |
| HSL | hsl(323, 69%, 29%) |
| HSV | hsv(323, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 31.5%, 50.2%) |
| CIE-LAB | lab(28.94, 48.32, -11.44) |
| CIE-LCH | lch(28.94, 49.66, 346.68°) |
| OKLab | oklab(40.74% 0.1477 -0.0301) |
| OKLCH | oklch(40.74% 0.151 348.5) |
| XYZ | xyz(10.7797, 5.8142, 9.5696) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.74
Red Purple
#820747
ΔE00 4.53
Rich Purple
#720058
ΔE00 4.69
Reddish Purple
#910951
ΔE00 4.89
Dark Magenta
#960056
ΔE00 4.97
Mulberry
#920A4E
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1757 #177F3F
analogous
#73177F #7F1757 #7F1723
triadic
#7F1757 #577F17 #17577F
tetradic
#7F1757 #7F7317 #177F3F #17237F
square
#7F1757 #7F7317 #177F3F #17237F
split-complementary
#7F1757 #237F17 #177F73
monochromatic
#1A0512 #4B0E34 #7F1757 #B3207A #DB369B
Accessibility & contrast
On white
9.71
#7F1757 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7F1757 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1757
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1757 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1757 | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#293959
Deuteranopia (green-blind)
#474B55
Tritanopia (blue-blind)
#891135
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1757; /* rgb */ color: rgb(127, 23, 87); /* oklch */ color: oklch(40.7% 0.151 348.5);
Tailwind
colors: {
custom: {
50: '#a86186',
500: '#7f1757',
950: '#000000',
},
}SCSS
$custom: #7f1757; $custom-light: #a86186; $custom-dark: #000000;
JSON
{
"hex": "#7f1757",
"rgb": {
"r": 127,
"g": 23,
"b": 87
},
"hsl": {
"h": 323.077,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.40741,
"c": 0.1507,
"h": 348.5
},
"luminance": 0.05813
}Semantic roles & 50–950 ramp
primary
#7F1757
secondary
#3EB46B
accent
#EC803C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C