#981A4A#981A4A
#981A4A is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.162 H 4.5°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #981A4A |
|---|---|
| RGB | rgb(152, 26, 74) |
| HSL | hsl(337, 71%, 35%) |
| HSV | hsv(337, 83%, 60%) |
| CMYK | cmyk(0%, 82.9%, 51.3%, 40.4%) |
| CIE-LAB | lab(33.80, 52.87, 4.84) |
| CIE-LCH | lch(33.80, 53.09, 5.23°) |
| OKLab | oklab(45.04% 0.1619 0.0128) |
| OKLCH | oklch(45.04% 0.162 4.5) |
| XYZ | xyz(14.5556, 7.9107, 7.2377) |
| Luminance | 0.0791 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.24
Purple Red
#990147
ΔE00 1.73
Mulberry
#920A4E
ΔE00 3.54
Violet Red
#A50055
ΔE00 3.56
Reddish Purple
#910951
ΔE00 4.52
Purplish Red
#B0054B
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981A4A #1A9868
analogous
#981A89 #981A4A #98291A
triadic
#981A4A #4A981A #1A4A98
tetradic
#981A4A #89981A #1A9868 #291A98
square
#981A4A #89981A #1A9868 #291A98
split-complementary
#981A4A #1A9829 #1A8998
monochromatic
#2F0817 #641131 #981A4A #CC2363 #E04C85
Accessibility & contrast
On white
8.13
#981A4A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#981A4A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981A4A
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981A4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981A4A | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C404B
Deuteranopia (green-blind)
#5D5847
Tritanopia (blue-blind)
#A60030
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #981a4a; /* rgb */ color: rgb(152, 26, 74); /* oklch */ color: oklch(45.0% 0.162 4.5);
Tailwind
colors: {
custom: {
50: '#bc667c',
500: '#981a4a',
950: '#000000',
},
}SCSS
$custom: #981a4a; $custom-light: #bc667c; $custom-dark: #000000;
JSON
{
"hex": "#981a4a",
"rgb": {
"r": 152,
"g": 26,
"b": 74
},
"hsl": {
"h": 337.143,
"s": 70.787,
"l": 34.902
},
"oklch": {
"l": 0.45044,
"c": 0.16243,
"h": 4.5
},
"luminance": 0.07909
}Semantic roles & 50–950 ramp
primary
#981A4A
secondary
#4BC295
accent
#EEA93A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B