#7F173D#7F173D
#7F173D is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.140 H 4.9°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7F173D |
|---|---|
| RGB | rgb(127, 23, 61) |
| HSL | hsl(338, 69%, 29%) |
| HSV | hsv(338, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 52%, 50.2%) |
| CIE-LAB | lab(28.02, 45.55, 4.52) |
| CIE-LCH | lch(28.02, 45.77, 5.67°) |
| OKLab | oklab(39.76% 0.1394 0.0119) |
| OKLCH | oklch(39.76% 0.14 4.9) |
| XYZ | xyz(9.9020, 5.4631, 4.9471) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.65
Merlot
#730039
ΔE00 4.05
Red Purple
#820747
ΔE00 4.05
Red Wine
#8C0034
ΔE00 4.43
Bordeaux
#7B002C
ΔE00 4.47
Purple Red
#990147
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F173D #177F59
analogous
#7F1771 #7F173D #7F2517
triadic
#7F173D #3D7F17 #173D7F
tetradic
#7F173D #717F17 #177F59 #25177F
square
#7F173D #717F17 #177F59 #25177F
split-complementary
#7F173D #177F25 #17717F
monochromatic
#1A050C #4B0E24 #7F173D #B32056 #DB3672
Accessibility & contrast
On white
10.04
#7F173D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7F173D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F173D
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F173D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F173D | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#32353E
Deuteranopia (green-blind)
#4D493B
Tritanopia (blue-blind)
#8B0028
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f173d; /* rgb */ color: rgb(127, 23, 61); /* oklch */ color: oklch(39.8% 0.140 4.9);
Tailwind
colors: {
custom: {
50: '#aa6072',
500: '#7f173d',
950: '#000000',
},
}SCSS
$custom: #7f173d; $custom-light: #aa6072; $custom-dark: #000000;
JSON
{
"hex": "#7f173d",
"rgb": {
"r": 127,
"g": 23,
"b": 61
},
"hsl": {
"h": 338.077,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.39764,
"c": 0.13989,
"h": 4.9
},
"luminance": 0.05462
}Semantic roles & 50–950 ramp
primary
#7F173D
secondary
#3EB489
accent
#ECAC3C
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A