#7F1959#7F1959
#7F1959 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.150 H 347.5°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1959 |
|---|---|
| RGB | rgb(127, 25, 89) |
| HSL | hsl(322, 67%, 30%) |
| HSV | hsv(322, 80%, 50%) |
| CMYK | cmyk(0%, 80.3%, 29.9%, 50.2%) |
| CIE-LAB | lab(29.23, 47.97, -12.30) |
| CIE-LCH | lch(29.23, 49.52, 345.62°) |
| OKLab | oklab(40.98% 0.1463 -0.0325) |
| OKLCH | oklch(40.98% 0.15 347.5) |
| XYZ | xyz(10.9037, 5.9298, 10.0196) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.89
Rich Purple
#720058
ΔE00 4.58
Red Purple
#820747
ΔE00 5.00
Dark Magenta
#960056
ΔE00 5.21
Reddish Purple
#910951
ΔE00 5.21
Red Violet
#9E0168
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1959 #197F3F
analogous
#72197F #7F1959 #7F1926
triadic
#7F1959 #597F19 #19597F
tetradic
#7F1959 #7F7219 #197F3F #19267F
square
#7F1959 #7F7219 #197F3F #19267F
split-complementary
#7F1959 #267F19 #197F72
monochromatic
#1A0512 #4C0F35 #7F1959 #B2237D #D83A9D
Accessibility & contrast
On white
9.61
#7F1959 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7F1959 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1959
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1959 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1959 | 1.00 | 9.61 | 2.19 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#293A5B
Deuteranopia (green-blind)
#474B57
Tritanopia (blue-blind)
#881437
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f1959; /* rgb */ color: rgb(127, 25, 89); /* oklch */ color: oklch(41.0% 0.150 347.5);
Tailwind
colors: {
custom: {
50: '#a86288',
500: '#7f1959',
950: '#000000',
},
}SCSS
$custom: #7f1959; $custom-light: #a86288; $custom-dark: #000000;
JSON
{
"hex": "#7f1959",
"rgb": {
"r": 127,
"g": 25,
"b": 89
},
"hsl": {
"h": 322.353,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.40983,
"c": 0.14981,
"h": 347.5
},
"luminance": 0.05929
}Semantic roles & 50–950 ramp
primary
#7F1959
secondary
#41B36B
accent
#EA7E3E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C