#7F1461#7F1461
#7F1461 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.159 H 342.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1461 |
|---|---|
| RGB | rgb(127, 20, 97) |
| HSL | hsl(317, 73%, 29%) |
| HSV | hsv(317, 84%, 50%) |
| CMYK | cmyk(0%, 84.3%, 23.6%, 50.2%) |
| CIE-LAB | lab(29.10, 50.45, -17.74) |
| CIE-LCH | lch(29.10, 53.48, 340.63°) |
| OKLab | oklab(41% 0.1522 -0.0476) |
| OKLCH | oklch(41% 0.159 342.6) |
| XYZ | xyz(11.1607, 5.8766, 11.8535) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.42
Velvet
#750851
ΔE00 3.46
Darkish Purple
#751973
ΔE00 5.60
Red Violet
#9E0168
ΔE00 6.00
Dark Magenta
#960056
ΔE00 6.75
Grape Purple
#5D1451
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1461 #147F32
analogous
#68147F #7F1461 #7F142C
triadic
#7F1461 #617F14 #14617F
tetradic
#7F1461 #7F6814 #147F32 #142C7F
square
#7F1461 #7F6814 #147F32 #142C7F
split-complementary
#7F1461 #2C7F14 #147F68
monochromatic
#1A0414 #4A0C39 #7F1461 #B41C89 #DE2FAD
Accessibility & contrast
On white
9.66
#7F1461 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7F1461 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1461
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1461 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1461 | 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)
#213A63
Deuteranopia (green-blind)
#434B5F
Tritanopia (blue-blind)
#88153A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f1461; /* rgb */ color: rgb(127, 20, 97); /* oklch */ color: oklch(41.0% 0.159 342.6);
Tailwind
colors: {
custom: {
50: '#a8608e',
500: '#7f1461',
950: '#000000',
},
}SCSS
$custom: #7f1461; $custom-light: #a8608e; $custom-dark: #000000;
JSON
{
"hex": "#7f1461",
"rgb": {
"r": 127,
"g": 20,
"b": 97
},
"hsl": {
"h": 316.822,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.41003,
"c": 0.15949,
"h": 342.6
},
"luminance": 0.05875
}Semantic roles & 50–950 ramp
primary
#7F1461
secondary
#3BB45D
accent
#EF6C38
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D