#7F1457#7F1457
#7F1457 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.154 H 348.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1457 |
|---|---|
| RGB | rgb(127, 20, 87) |
| HSL | hsl(322, 73%, 29%) |
| HSV | hsv(322, 84%, 50%) |
| CMYK | cmyk(0%, 84.3%, 31.5%, 50.2%) |
| CIE-LAB | lab(28.65, 49.16, -11.89) |
| CIE-LCH | lch(28.65, 50.57, 346.41°) |
| OKLab | oklab(40.53% 0.1503 -0.0313) |
| OKLCH | oklch(40.53% 0.154 348.2) |
| XYZ | xyz(10.7234, 5.7017, 9.5508) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.49
Rich Purple
#720058
ΔE00 4.39
Red Purple
#820747
ΔE00 4.60
Reddish Purple
#910951
ΔE00 5.01
Dark Magenta
#960056
ΔE00 5.04
Red Violet
#9E0168
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1457 #147F3C
analogous
#72147F #7F1457 #7F1422
triadic
#7F1457 #577F14 #14577F
tetradic
#7F1457 #7F7214 #147F3C #14227F
square
#7F1457 #7F7214 #147F3C #14227F
split-complementary
#7F1457 #227F14 #147F72
monochromatic
#1A0412 #4A0C33 #7F1457 #B41C7B #DE2F9D
Accessibility & contrast
On white
9.81
#7F1457 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7F1457 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1457
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1457 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1457 | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#273859
Deuteranopia (green-blind)
#474A55
Tritanopia (blue-blind)
#890D34
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1457; /* rgb */ color: rgb(127, 20, 87); /* oklch */ color: oklch(40.5% 0.154 348.2);
Tailwind
colors: {
custom: {
50: '#a86086',
500: '#7f1457',
950: '#000000',
},
}SCSS
$custom: #7f1457; $custom-light: #a86086; $custom-dark: #000000;
JSON
{
"hex": "#7f1457",
"rgb": {
"r": 127,
"g": 20,
"b": 87
},
"hsl": {
"h": 322.43,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.40529,
"c": 0.15352,
"h": 348.2
},
"luminance": 0.057
}Semantic roles & 50–950 ramp
primary
#7F1457
secondary
#3BB468
accent
#EF7D38
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C