#7F174C#7F174C
#7F174C is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.145 H 355.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7F174C |
|---|---|
| RGB | rgb(127, 23, 76) |
| HSL | hsl(329, 69%, 29%) |
| HSV | hsv(329, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 40.2%, 50.2%) |
| CIE-LAB | lab(28.51, 47.04, -4.81) |
| CIE-LCH | lch(28.51, 47.28, 354.16°) |
| OKLab | oklab(40.28% 0.1447 -0.0121) |
| OKLCH | oklch(40.28% 0.145 355.2) |
| XYZ | xyz(10.3640, 5.6479, 7.3805) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.79
Reddish Purple
#910951
ΔE00 3.41
Wine (survey)
#80013F
ΔE00 3.56
Mulberry
#920A4E
ΔE00 3.85
Dark Magenta
#960056
ΔE00 4.34
Velvet
#750851
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F174C #177F4A
analogous
#7E177F #7F174C #7F1718
triadic
#7F174C #4C7F17 #174C7F
tetradic
#7F174C #7F7E17 #177F4A #17187F
square
#7F174C #7F7E17 #177F4A #17187F
split-complementary
#7F174C #187F17 #177F7E
monochromatic
#1A0510 #4B0E2D #7F174C #B3206B #DB368A
Accessibility & contrast
On white
9.86
#7F174C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7F174C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F174C
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F174C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F174C | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D374D
Deuteranopia (green-blind)
#4A4A4A
Tritanopia (blue-blind)
#8A072F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f174c; /* rgb */ color: rgb(127, 23, 76); /* oklch */ color: oklch(40.3% 0.145 355.2);
Tailwind
colors: {
custom: {
50: '#a9617e',
500: '#7f174c',
950: '#000000',
},
}SCSS
$custom: #7f174c; $custom-light: #a9617e; $custom-dark: #000000;
JSON
{
"hex": "#7f174c",
"rgb": {
"r": 127,
"g": 23,
"b": 76
},
"hsl": {
"h": 329.423,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.40284,
"c": 0.14516,
"h": 355.2
},
"luminance": 0.05647
}Semantic roles & 50–950 ramp
primary
#7F174C
secondary
#3EB478
accent
#EC923C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B