#7F1658#7F1658
#7F1658 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.152 H 347.8°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1658 |
|---|---|
| RGB | rgb(127, 22, 88) |
| HSL | hsl(322, 70%, 29%) |
| HSV | hsv(322, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 30.7%, 50.2%) |
| CIE-LAB | lab(28.88, 48.73, -12.19) |
| CIE-LCH | lch(28.88, 50.24, 345.96°) |
| OKLab | oklab(40.71% 0.1488 -0.0321) |
| OKLCH | oklch(40.71% 0.152 347.8) |
| XYZ | xyz(10.8013, 5.7917, 9.7797) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.63
Rich Purple
#720058
ΔE00 4.41
Red Purple
#820747
ΔE00 4.81
Reddish Purple
#910951
ΔE00 5.12
Dark Magenta
#960056
ΔE00 5.13
Red Violet
#9E0168
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1658 #167F3D
analogous
#72167F #7F1658 #7F1623
triadic
#7F1658 #587F16 #16587F
tetradic
#7F1658 #7F7216 #167F3D #16237F
square
#7F1658 #7F7216 #167F3D #16237F
split-complementary
#7F1658 #237F16 #167F72
monochromatic
#1A0512 #4B0D34 #7F1658 #B31F7C #DC349D
Accessibility & contrast
On white
9.73
#7F1658 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7F1658 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1658
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1658 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1658 | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28395A
Deuteranopia (green-blind)
#474B56
Tritanopia (blue-blind)
#891035
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1658; /* rgb */ color: rgb(127, 22, 88); /* oklch */ color: oklch(40.7% 0.152 347.8);
Tailwind
colors: {
custom: {
50: '#a86187',
500: '#7f1658',
950: '#000000',
},
}SCSS
$custom: #7f1658; $custom-light: #a86187; $custom-dark: #000000;
JSON
{
"hex": "#7f1658",
"rgb": {
"r": 127,
"g": 22,
"b": 88
},
"hsl": {
"h": 322.286,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.40712,
"c": 0.15224,
"h": 347.8
},
"luminance": 0.0579
}Semantic roles & 50–950 ramp
primary
#7F1658
secondary
#3DB469
accent
#ED7D3B
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C