#7F1247#7F1247
#7F1247 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.148 H 357.7°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1247 |
|---|---|
| RGB | rgb(127, 18, 71) |
| HSL | hsl(331, 75%, 28%) |
| HSV | hsv(331, 86%, 50%) |
| CMYK | cmyk(0%, 85.8%, 44.1%, 50.2%) |
| CIE-LAB | lab(27.85, 47.88, -2.45) |
| CIE-LCH | lch(27.85, 47.94, 357.07°) |
| OKLab | oklab(39.75% 0.1475 -0.0058) |
| OKLCH | oklch(39.75% 0.148 357.7) |
| XYZ | xyz(10.1068, 5.4009, 6.4703) |
| Luminance | 0.0540 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 0.93
Wine (survey)
#80013F
ΔE00 2.25
Reddish Purple
#910951
ΔE00 3.50
Merlot
#730039
ΔE00 3.53
Mulberry
#920A4E
ΔE00 3.62
Dark Magenta
#960056
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1247 #127F4A
analogous
#7F127D #7F1247 #7F1412
triadic
#7F1247 #477F12 #12477F
tetradic
#7F1247 #7D7F12 #127F4A #14127F
square
#7F1247 #7D7F12 #127F4A #14127F
split-complementary
#7F1247 #127F14 #127D7F
monochromatic
#1B040F #490A29 #7F1247 #B51A65 #E12B83
Accessibility & contrast
On white
10.10
#7F1247 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7F1247 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1247
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1247 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1247 | 1.00 | 10.10 | 2.08 | 10.10 |
| #FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3548
Deuteranopia (green-blind)
#4A4945
Tritanopia (blue-blind)
#8A002B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f1247; /* rgb */ color: rgb(127, 18, 71); /* oklch */ color: oklch(39.7% 0.148 357.7);
Tailwind
colors: {
custom: {
50: '#a95f7a',
500: '#7f1247',
950: '#000000',
},
}SCSS
$custom: #7f1247; $custom-light: #a95f7a; $custom-dark: #000000;
JSON
{
"hex": "#7f1247",
"rgb": {
"r": 127,
"g": 18,
"b": 71
},
"hsl": {
"h": 330.826,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.39745,
"c": 0.14758,
"h": 357.7
},
"luminance": 0.054
}Semantic roles & 50–950 ramp
primary
#7F1247
secondary
#38B578
accent
#F29636
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110509
muted
#80797B