#7F1462#7F1462
#7F1462 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.160 H 342.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1462 |
|---|---|
| RGB | rgb(127, 20, 98) |
| HSL | hsl(316, 73%, 29%) |
| HSV | hsv(316, 84%, 50%) |
| CMYK | cmyk(0%, 84.3%, 22.8%, 50.2%) |
| CIE-LAB | lab(29.15, 50.59, -18.32) |
| CIE-LCH | lch(29.15, 53.80, 340.10°) |
| OKLab | oklab(41.05% 0.1524 -0.0492) |
| OKLCH | oklch(41.05% 0.16 342.1) |
| XYZ | xyz(11.2076, 5.8954, 12.1006) |
| Luminance | 0.0589 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.42
Velvet
#750851
ΔE00 3.65
Darkish Purple
#751973
ΔE00 5.37
Red Violet
#9E0168
ΔE00 6.06
Grape Purple
#5D1451
ΔE00 6.80
Grape
#6C3461
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1462 #147F31
analogous
#67147F #7F1462 #7F142D
triadic
#7F1462 #627F14 #14627F
tetradic
#7F1462 #7F6714 #147F31 #142D7F
square
#7F1462 #7F6714 #147F31 #142D7F
split-complementary
#7F1462 #2D7F14 #147F67
monochromatic
#1A0414 #4A0C39 #7F1462 #B41C8B #DE2FAF
Accessibility & contrast
On white
9.64
#7F1462 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7F1462 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1462
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1462 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1462 | 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)
#203A64
Deuteranopia (green-blind)
#434B60
Tritanopia (blue-blind)
#87163A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f1462; /* rgb */ color: rgb(127, 20, 98); /* oklch */ color: oklch(41.1% 0.160 342.1);
Tailwind
colors: {
custom: {
50: '#a8618f',
500: '#7f1462',
950: '#000000',
},
}SCSS
$custom: #7f1462; $custom-light: #a8618f; $custom-dark: #000000;
JSON
{
"hex": "#7f1462",
"rgb": {
"r": 127,
"g": 20,
"b": 98
},
"hsl": {
"h": 316.262,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.41053,
"c": 0.16013,
"h": 342.1
},
"luminance": 0.05894
}Semantic roles & 50–950 ramp
primary
#7F1462
secondary
#3BB45C
accent
#EF6A38
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D