#981E4D#981E4D
#981E4D is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.160 H 3.5°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #981E4D |
|---|---|
| RGB | rgb(152, 30, 77) |
| HSL | hsl(337, 67%, 36%) |
| HSV | hsv(337, 80%, 60%) |
| CMYK | cmyk(0%, 80.3%, 49.3%, 40.4%) |
| CIE-LAB | lab(34.28, 52.01, 3.57) |
| CIE-LCH | lch(34.28, 52.13, 3.93°) |
| OKLab | oklab(45.43% 0.1594 0.0097) |
| OKLCH | oklch(45.43% 0.16 3.5) |
| XYZ | xyz(14.7540, 8.1418, 7.8144) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.39
Purple Red
#990147
ΔE00 2.23
Violet Red
#A50055
ΔE00 3.26
Mulberry
#920A4E
ΔE00 3.34
Reddish Purple
#910951
ΔE00 4.23
Dark Fuchsia
#9D0759
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981E4D #1E9869
analogous
#981E8A #981E4D #982C1E
triadic
#981E4D #4D981E #1E4D98
tetradic
#981E4D #8A981E #1E9869 #2C1E98
square
#981E4D #8A981E #1E9869 #2C1E98
split-complementary
#981E4D #1E982C #1E8A98
monochromatic
#320A19 #651433 #981E4D #CB2867 #DD5388
Accessibility & contrast
On white
7.99
#981E4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#981E4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981E4D
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981E4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981E4D | 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)
#3D414E
Deuteranopia (green-blind)
#5D594A
Tritanopia (blue-blind)
#A60033
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #981e4d; /* rgb */ color: rgb(152, 30, 77); /* oklch */ color: oklch(45.4% 0.160 3.5);
Tailwind
colors: {
custom: {
50: '#bc677e',
500: '#981e4d',
950: '#000000',
},
}SCSS
$custom: #981e4d; $custom-light: #bc677e; $custom-dark: #000000;
JSON
{
"hex": "#981e4d",
"rgb": {
"r": 152,
"g": 30,
"b": 77
},
"hsl": {
"h": 336.885,
"s": 67.033,
"l": 35.686
},
"oklch": {
"l": 0.45425,
"c": 0.1597,
"h": 3.5
},
"luminance": 0.0814
}Semantic roles & 50–950 ramp
primary
#981E4D
secondary
#51C096
accent
#EAA83E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B