#7F1754#7F1754
#7F1754 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.149 H 350.3°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1754 |
|---|---|
| RGB | rgb(127, 23, 84) |
| HSL | hsl(325, 69%, 29%) |
| HSV | hsv(325, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 33.9%, 50.2%) |
| CIE-LAB | lab(28.81, 47.96, -9.65) |
| CIE-LCH | lch(28.81, 48.92, 348.62°) |
| OKLab | oklab(40.61% 0.1469 -0.0252) |
| OKLCH | oklch(40.61% 0.149 350.3) |
| XYZ | xyz(10.6596, 5.7662, 8.9374) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.99
Red Purple
#820747
ΔE00 3.74
Reddish Purple
#910951
ΔE00 4.33
Dark Magenta
#960056
ΔE00 4.61
Mulberry
#920A4E
ΔE00 5.17
Rich Purple
#720058
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1754 #177F42
analogous
#76177F #7F1754 #7F1720
triadic
#7F1754 #547F17 #17547F
tetradic
#7F1754 #7F7617 #177F42 #17207F
square
#7F1754 #7F7617 #177F42 #17207F
split-complementary
#7F1754 #207F17 #177F76
monochromatic
#1A0511 #4B0E32 #7F1754 #B32076 #DB3696
Accessibility & contrast
On white
9.75
#7F1754 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7F1754 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1754
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1754 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1754 | 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)
#2A3856
Deuteranopia (green-blind)
#484A52
Tritanopia (blue-blind)
#890E34
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1754; /* rgb */ color: rgb(127, 23, 84); /* oklch */ color: oklch(40.6% 0.149 350.3);
Tailwind
colors: {
custom: {
50: '#a86184',
500: '#7f1754',
950: '#000000',
},
}SCSS
$custom: #7f1754; $custom-light: #a86184; $custom-dark: #000000;
JSON
{
"hex": "#7f1754",
"rgb": {
"r": 127,
"g": 23,
"b": 84
},
"hsl": {
"h": 324.808,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.4061,
"c": 0.14907,
"h": 350.3
},
"luminance": 0.05765
}Semantic roles & 50–950 ramp
primary
#7F1754
secondary
#3EB46F
accent
#EC853C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050A
muted
#7F7A7C