#7F1747#7F1747
#7F1747 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.143 H 358.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1747 |
|---|---|
| RGB | rgb(127, 23, 71) |
| HSL | hsl(332, 69%, 29%) |
| HSV | hsv(332, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 44.1%, 50.2%) |
| CIE-LAB | lab(28.33, 46.50, -1.74) |
| CIE-LCH | lch(28.33, 46.54, 357.86°) |
| OKLab | oklab(40.1% 0.143 -0.004) |
| OKLCH | oklch(40.1% 0.143 358.4) |
| XYZ | xyz(10.1969, 5.5811, 6.5003) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.48
Wine (survey)
#80013F
ΔE00 2.37
Mulberry
#920A4E
ΔE00 3.59
Reddish Purple
#910951
ΔE00 3.60
Merlot
#730039
ΔE00 3.75
Dark Magenta
#960056
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1747 #177F4F
analogous
#7F177B #7F1747 #7F1B17
triadic
#7F1747 #477F17 #17477F
tetradic
#7F1747 #7B7F17 #177F4F #1B177F
square
#7F1747 #7B7F17 #177F4F #1B177F
split-complementary
#7F1747 #177F1B #177B7F
monochromatic
#1A050E #4B0E2A #7F1747 #B32064 #DB3682
Accessibility & contrast
On white
9.92
#7F1747 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7F1747 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1747
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1747 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1747 | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3648
Deuteranopia (green-blind)
#4B4A45
Tritanopia (blue-blind)
#8A022D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1747; /* rgb */ color: rgb(127, 23, 71); /* oklch */ color: oklch(40.1% 0.143 358.4);
Tailwind
colors: {
custom: {
50: '#a9607a',
500: '#7f1747',
950: '#000000',
},
}SCSS
$custom: #7f1747; $custom-light: #a9607a; $custom-dark: #000000;
JSON
{
"hex": "#7f1747",
"rgb": {
"r": 127,
"g": 23,
"b": 71
},
"hsl": {
"h": 332.308,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.40098,
"c": 0.14309,
"h": 358.4
},
"luminance": 0.0558
}Semantic roles & 50–950 ramp
primary
#7F1747
secondary
#3EB47D
accent
#EC9B3C
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B