#981B4F#981B4F
#981B4F is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.163 H 1.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #981B4F |
|---|---|
| RGB | rgb(152, 27, 79) |
| HSL | hsl(335, 70%, 35%) |
| HSV | hsv(335, 82%, 60%) |
| CMYK | cmyk(0%, 82.2%, 48%, 40.4%) |
| CIE-LAB | lab(34.04, 53.04, 1.92) |
| CIE-LCH | lch(34.04, 53.07, 2.07°) |
| OKLab | oklab(45.27% 0.1629 0.0055) |
| OKLCH | oklch(45.27% 0.163 1.9) |
| XYZ | xyz(14.7534, 8.0258, 8.1679) |
| Luminance | 0.0802 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.21
Purple Red
#990147
ΔE00 2.25
Mulberry
#920A4E
ΔE00 2.58
Violet Red
#A50055
ΔE00 2.70
Dark Fuchsia
#9D0759
ΔE00 3.39
Reddish Purple
#910951
ΔE00 3.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981B4F #1B9864
analogous
#981B8D #981B4F #98261B
triadic
#981B4F #4F981B #1B4F98
tetradic
#981B4F #8D981B #1B9864 #261B98
square
#981B4F #8D981B #1B9864 #261B98
split-complementary
#981B4F #1B9826 #1B8D98
monochromatic
#300919 #641234 #981B4F #CC246A #E04E8A
Accessibility & contrast
On white
8.06
#981B4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#981B4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981B4F
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981B4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981B4F | 1.00 | 8.06 | 2.60 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4150
Deuteranopia (green-blind)
#5C594C
Tritanopia (blue-blind)
#A60033
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981b4f; /* rgb */ color: rgb(152, 27, 79); /* oklch */ color: oklch(45.3% 0.163 1.9);
Tailwind
colors: {
custom: {
50: '#bc6680',
500: '#981b4f',
950: '#000000',
},
}SCSS
$custom: #981b4f; $custom-light: #bc6680; $custom-dark: #000000;
JSON
{
"hex": "#981b4f",
"rgb": {
"r": 152,
"g": 27,
"b": 79
},
"hsl": {
"h": 335.04,
"s": 69.832,
"l": 35.098
},
"oklch": {
"l": 0.45269,
"c": 0.16296,
"h": 1.9
},
"luminance": 0.08024
}Semantic roles & 50–950 ramp
primary
#981B4F
secondary
#4DC291
accent
#EDA33B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C