#981F49#981F49
#981F49 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.158 H 5.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #981F49 |
|---|---|
| RGB | rgb(152, 31, 73) |
| HSL | hsl(339, 66%, 36%) |
| HSV | hsv(339, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 52%, 40.4%) |
| CIE-LAB | lab(34.27, 51.36, 6.16) |
| CIE-LCH | lch(34.27, 51.73, 6.84°) |
| OKLab | oklab(45.38% 0.1569 0.0161) |
| OKLCH | oklch(45.38% 0.158 5.9) |
| XYZ | xyz(14.6428, 8.1385, 7.1019) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.17
Purple Red
#990147
ΔE00 2.48
Violet Red
#A50055
ΔE00 4.26
Cranberry
#9E003A
ΔE00 4.38
Purplish Red
#B0054B
ΔE00 4.43
Mulberry
#920A4E
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F49 #1F986E
analogous
#981F85 #981F49 #98321F
triadic
#981F49 #49981F #1F4998
tetradic
#981F49 #85981F #1F986E #321F98
square
#981F49 #85981F #1F986E #321F98
split-complementary
#981F49 #1F9832 #1F8598
monochromatic
#320A18 #651531 #981F49 #CB2961 #DC5584
Accessibility & contrast
On white
7.99
#981F49 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#981F49 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F49
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F49 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F49 | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E414A
Deuteranopia (green-blind)
#5E5946
Tritanopia (blue-blind)
#A60031
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #981f49; /* rgb */ color: rgb(152, 31, 73); /* oklch */ color: oklch(45.4% 0.158 5.9);
Tailwind
colors: {
custom: {
50: '#bc687b',
500: '#981f49',
950: '#000000',
},
}SCSS
$custom: #981f49; $custom-light: #bc687b; $custom-dark: #000000;
JSON
{
"hex": "#981f49",
"rgb": {
"r": 152,
"g": 31,
"b": 73
},
"hsl": {
"h": 339.174,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.45383,
"c": 0.15776,
"h": 5.9
},
"luminance": 0.08136
}Semantic roles & 50–950 ramp
primary
#981F49
secondary
#53C09A
accent
#E9AE3F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B