#7F1858#7F1858
#7F1858 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.150 H 348.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1858 |
|---|---|
| RGB | rgb(127, 24, 88) |
| HSL | hsl(323, 68%, 30%) |
| HSV | hsv(323, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 30.7%, 50.2%) |
| CIE-LAB | lab(29.08, 48.15, -11.88) |
| CIE-LCH | lch(29.08, 49.59, 346.15°) |
| OKLab | oklab(40.86% 0.147 -0.0313) |
| OKLCH | oklch(40.86% 0.15 348) |
| XYZ | xyz(10.8410, 5.8711, 9.7930) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.80
Rich Purple
#720058
ΔE00 4.62
Red Purple
#820747
ΔE00 4.76
Reddish Purple
#910951
ΔE00 5.05
Dark Magenta
#960056
ΔE00 5.08
Red Violet
#9E0168
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1858 #187F3F
analogous
#72187F #7F1858 #7F1825
triadic
#7F1858 #587F18 #18587F
tetradic
#7F1858 #7F7218 #187F3F #18257F
square
#7F1858 #7F7218 #187F3F #18257F
split-complementary
#7F1858 #257F18 #187F72
monochromatic
#1A0512 #4C0E34 #7F1858 #B2227C #D9389C
Accessibility & contrast
On white
9.66
#7F1858 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7F1858 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1858
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1858 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1858 | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29395A
Deuteranopia (green-blind)
#474B56
Tritanopia (blue-blind)
#891236
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f1858; /* rgb */ color: rgb(127, 24, 88); /* oklch */ color: oklch(40.9% 0.150 348.0);
Tailwind
colors: {
custom: {
50: '#a86187',
500: '#7f1858',
950: '#000000',
},
}SCSS
$custom: #7f1858; $custom-light: #a86187; $custom-dark: #000000;
JSON
{
"hex": "#7f1858",
"rgb": {
"r": 127,
"g": 24,
"b": 88
},
"hsl": {
"h": 322.718,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.40861,
"c": 0.15027,
"h": 348
},
"luminance": 0.0587
}Semantic roles & 50–950 ramp
primary
#7F1858
secondary
#3FB36B
accent
#EB7F3D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C