#7F1859#7F1859
#7F1859 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.151 H 347.4°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1859 |
|---|---|
| RGB | rgb(127, 24, 89) |
| HSL | hsl(322, 68%, 30%) |
| HSV | hsv(322, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 29.9%, 50.2%) |
| CIE-LAB | lab(29.13, 48.28, -12.47) |
| CIE-LCH | lch(29.13, 49.86, 345.52°) |
| OKLab | oklab(40.91% 0.1472 -0.0329) |
| OKLCH | oklch(40.91% 0.151 347.4) |
| XYZ | xyz(10.8828, 5.8878, 10.0126) |
| Luminance | 0.0589 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.79
Rich Purple
#720058
ΔE00 4.47
Red Purple
#820747
ΔE00 5.02
Dark Magenta
#960056
ΔE00 5.23
Reddish Purple
#910951
ΔE00 5.25
Red Violet
#9E0168
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1859 #187F3E
analogous
#72187F #7F1859 #7F1826
triadic
#7F1859 #597F18 #18597F
tetradic
#7F1859 #7F7218 #187F3E #18267F
square
#7F1859 #7F7218 #187F3E #18267F
split-complementary
#7F1859 #267F18 #187F72
monochromatic
#1A0512 #4C0E35 #7F1859 #B2227D #D9389E
Accessibility & contrast
On white
9.64
#7F1859 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7F1859 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1859
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1859 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1859 | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28395B
Deuteranopia (green-blind)
#474B57
Tritanopia (blue-blind)
#881337
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f1859; /* rgb */ color: rgb(127, 24, 89); /* oklch */ color: oklch(40.9% 0.151 347.4);
Tailwind
colors: {
custom: {
50: '#a86288',
500: '#7f1859',
950: '#000000',
},
}SCSS
$custom: #7f1859; $custom-light: #a86288; $custom-dark: #000000;
JSON
{
"hex": "#7f1859",
"rgb": {
"r": 127,
"g": 24,
"b": 89
},
"hsl": {
"h": 322.136,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.40905,
"c": 0.15084,
"h": 347.4
},
"luminance": 0.05887
}Semantic roles & 50–950 ramp
primary
#7F1859
secondary
#3FB36A
accent
#EB7D3D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C