#981747#981747
#981747 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.8% C 0.164 H 5.7°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #981747 |
|---|---|
| RGB | rgb(152, 23, 71) |
| HSL | hsl(338, 74%, 34%) |
| HSV | hsv(338, 85%, 60%) |
| CMYK | cmyk(0%, 84.9%, 53.3%, 40.4%) |
| CIE-LAB | lab(33.45, 53.38, 6.30) |
| CIE-LCH | lch(33.45, 53.75, 6.74°) |
| OKLab | oklab(44.76% 0.1633 0.0164) |
| OKLCH | oklch(44.76% 0.164 5.7) |
| XYZ | xyz(14.3940, 7.7452, 6.6971) |
| Luminance | 0.0774 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 1.67
Berry
#990F4B
ΔE00 1.68
Mulberry
#920A4E
ΔE00 4.04
Cranberry
#9E003A
ΔE00 4.08
Violet Red
#A50055
ΔE00 4.08
Purplish Red
#B0054B
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981747 #179868
analogous
#981788 #981747 #982717
triadic
#981747 #479817 #174798
tetradic
#981747 #889817 #179868 #271798
square
#981747 #889817 #179868 #271798
split-complementary
#981747 #179827 #178898
monochromatic
#2E0715 #630F2E #981747 #CD1F60 #E34681
Accessibility & contrast
On white
8.24
#981747 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#981747 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981747
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981747 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981747 | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3F48
Deuteranopia (green-blind)
#5D5844
Tritanopia (blue-blind)
#A6002D
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #981747; /* rgb */ color: rgb(152, 23, 71); /* oklch */ color: oklch(44.8% 0.164 5.7);
Tailwind
colors: {
custom: {
50: '#bd6579',
500: '#981747',
950: '#000000',
},
}SCSS
$custom: #981747; $custom-light: #bd6579; $custom-dark: #000000;
JSON
{
"hex": "#981747",
"rgb": {
"r": 152,
"g": 23,
"b": 71
},
"hsl": {
"h": 337.674,
"s": 73.714,
"l": 34.314
},
"oklch": {
"l": 0.44761,
"c": 0.16407,
"h": 5.7
},
"luminance": 0.07743
}Semantic roles & 50–950 ramp
primary
#981747
secondary
#47C495
accent
#F0AC37
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130609
muted
#827A7B