#7F174A#7F174A
#7F174A is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.144 H 356.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7F174A |
|---|---|
| RGB | rgb(127, 23, 74) |
| HSL | hsl(331, 69%, 29%) |
| HSV | hsv(331, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 41.7%, 50.2%) |
| CIE-LAB | lab(28.43, 46.82, -3.59) |
| CIE-LCH | lch(28.43, 46.96, 355.62°) |
| OKLab | oklab(40.21% 0.144 -0.0088) |
| OKLCH | oklch(40.21% 0.144 356.5) |
| XYZ | xyz(10.2956, 5.6206, 7.0200) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.49
Wine (survey)
#80013F
ΔE00 3.05
Reddish Purple
#910951
ΔE00 3.40
Mulberry
#920A4E
ΔE00 3.67
Merlot
#730039
ΔE00 4.19
Dark Magenta
#960056
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F174A #177F4C
analogous
#7F177E #7F174A #7F1817
triadic
#7F174A #4A7F17 #174A7F
tetradic
#7F174A #7E7F17 #177F4C #18177F
square
#7F174A #7E7F17 #177F4C #18177F
split-complementary
#7F174A #177F18 #177E7F
monochromatic
#1A050F #4B0E2C #7F174A #B32068 #DB3687
Accessibility & contrast
On white
9.89
#7F174A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7F174A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F174A
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F174A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F174A | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E374B
Deuteranopia (green-blind)
#4B4A48
Tritanopia (blue-blind)
#8A052E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f174a; /* rgb */ color: rgb(127, 23, 74); /* oklch */ color: oklch(40.2% 0.144 356.5);
Tailwind
colors: {
custom: {
50: '#a9617c',
500: '#7f174a',
950: '#000000',
},
}SCSS
$custom: #7f174a; $custom-light: #a9617c; $custom-dark: #000000;
JSON
{
"hex": "#7f174a",
"rgb": {
"r": 127,
"g": 23,
"b": 74
},
"hsl": {
"h": 330.577,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.40208,
"c": 0.1443,
"h": 356.5
},
"luminance": 0.05619
}Semantic roles & 50–950 ramp
primary
#7F174A
secondary
#3EB47A
accent
#EC963C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B