#981F48#981F48
#981F48 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.158 H 6.4°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #981F48 |
|---|---|
| RGB | rgb(152, 31, 72) |
| HSL | hsl(340, 66%, 36%) |
| HSV | hsv(340, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 52.6%, 40.4%) |
| CIE-LAB | lab(34.24, 51.28, 6.78) |
| CIE-LCH | lch(34.24, 51.72, 7.53°) |
| OKLab | oklab(45.36% 0.1566 0.0176) |
| OKLCH | oklch(45.36% 0.158 6.4) |
| XYZ | xyz(14.6099, 8.1253, 6.9287) |
| Luminance | 0.0812 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.41
Purple Red
#990147
ΔE00 2.61
Cranberry
#9E003A
ΔE00 4.10
Purplish Red
#B0054B
ΔE00 4.37
Raspberry (survey)
#B00149
ΔE00 4.46
Violet Red
#A50055
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F48 #1F986F
analogous
#981F84 #981F48 #98321F
triadic
#981F48 #48981F #1F4898
tetradic
#981F48 #84981F #1F986F #321F98
square
#981F48 #84981F #1F986F #321F98
split-complementary
#981F48 #1F9832 #1F8498
monochromatic
#320A18 #651530 #981F48 #CB2960 #DC5583
Accessibility & contrast
On white
8.00
#981F48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#981F48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F48
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F48 | 1.00 | 8.00 | 2.62 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4149
Deuteranopia (green-blind)
#5E5945
Tritanopia (blue-blind)
#A60031
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981f48; /* rgb */ color: rgb(152, 31, 72); /* oklch */ color: oklch(45.4% 0.158 6.4);
Tailwind
colors: {
custom: {
50: '#bc687a',
500: '#981f48',
950: '#000000',
},
}SCSS
$custom: #981f48; $custom-light: #bc687a; $custom-dark: #000000;
JSON
{
"hex": "#981f48",
"rgb": {
"r": 152,
"g": 31,
"b": 72
},
"hsl": {
"h": 339.669,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.45355,
"c": 0.15755,
"h": 6.4
},
"luminance": 0.08123
}Semantic roles & 50–950 ramp
primary
#981F48
secondary
#53C09B
accent
#E9AF3F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B