#7F163C#7F163C
#7F163C is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.141 H 5.4°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7F163C |
|---|---|
| RGB | rgb(127, 22, 60) |
| HSL | hsl(338, 70%, 29%) |
| HSV | hsv(338, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 52.8%, 50.2%) |
| CIE-LAB | lab(27.88, 45.76, 5.01) |
| CIE-LCH | lch(27.88, 46.03, 6.24°) |
| OKLab | oklab(39.66% 0.14 0.0131) |
| OKLCH | oklch(39.66% 0.141 5.4) |
| XYZ | xyz(9.8558, 5.4135, 4.8000) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.75
Merlot
#730039
ΔE00 4.11
Bordeaux
#7B002C
ΔE00 4.19
Red Wine
#8C0034
ΔE00 4.20
Red Purple
#820747
ΔE00 4.26
Purple Red
#990147
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F163C #167F59
analogous
#7F1671 #7F163C #7F2516
triadic
#7F163C #3C7F16 #163C7F
tetradic
#7F163C #717F16 #167F59 #25167F
square
#7F163C #717F16 #167F59 #25167F
split-complementary
#7F163C #167F25 #16717F
monochromatic
#1A050C #4B0D23 #7F163C #B31F55 #DC3470
Accessibility & contrast
On white
10.08
#7F163C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7F163C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F163C
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F163C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F163C | 1.00 | 10.08 | 2.08 | 10.08 |
| #FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#32353D
Deuteranopia (green-blind)
#4D493A
Tritanopia (blue-blind)
#8B0027
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f163c; /* rgb */ color: rgb(127, 22, 60); /* oklch */ color: oklch(39.7% 0.141 5.4);
Tailwind
colors: {
custom: {
50: '#aa6071',
500: '#7f163c',
950: '#000000',
},
}SCSS
$custom: #7f163c; $custom-light: #aa6071; $custom-dark: #000000;
JSON
{
"hex": "#7f163c",
"rgb": {
"r": 127,
"g": 22,
"b": 60
},
"hsl": {
"h": 338.286,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.39657,
"c": 0.14056,
"h": 5.4
},
"luminance": 0.05412
}Semantic roles & 50–950 ramp
primary
#7F163C
secondary
#3DB489
accent
#EDAD3B
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A