#7F1251#7F1251
#7F1251 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.152 H 351.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1251 |
|---|---|
| RGB | rgb(127, 18, 81) |
| HSL | hsl(325, 75%, 28%) |
| HSV | hsv(325, 86%, 50%) |
| CMYK | cmyk(0%, 85.8%, 36.2%, 50.2%) |
| CIE-LAB | lab(28.22, 48.96, -8.56) |
| CIE-LCH | lch(28.22, 49.70, 350.08°) |
| OKLab | oklab(40.14% 0.1504 -0.0222) |
| OKLCH | oklch(40.14% 0.152 351.6) |
| XYZ | xyz(10.4546, 5.5400, 8.3018) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.99
Red Purple
#820747
ΔE00 3.04
Reddish Purple
#910951
ΔE00 4.02
Dark Magenta
#960056
ΔE00 4.43
Mulberry
#920A4E
ΔE00 4.81
Wine (survey)
#80013F
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1251 #127F40
analogous
#76127F #7F1251 #7F121B
triadic
#7F1251 #517F12 #12517F
tetradic
#7F1251 #7F7612 #127F40 #121B7F
square
#7F1251 #7F7612 #127F40 #121B7F
split-complementary
#7F1251 #1B7F12 #127F76
monochromatic
#1B0411 #490A2F #7F1251 #B51A73 #E12B94
Accessibility & contrast
On white
9.96
#7F1251 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7F1251 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1251
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1251 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1251 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#293653
Deuteranopia (green-blind)
#48494F
Tritanopia (blue-blind)
#890431
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1251; /* rgb */ color: rgb(127, 18, 81); /* oklch */ color: oklch(40.1% 0.152 351.6);
Tailwind
colors: {
custom: {
50: '#a95f81',
500: '#7f1251',
950: '#000000',
},
}SCSS
$custom: #7f1251; $custom-light: #a95f81; $custom-dark: #000000;
JSON
{
"hex": "#7f1251",
"rgb": {
"r": 127,
"g": 18,
"b": 81
},
"hsl": {
"h": 325.321,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.40139,
"c": 0.15206,
"h": 351.6
},
"luminance": 0.05539
}Semantic roles & 50–950 ramp
primary
#7F1251
secondary
#38B56D
accent
#F28536
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C