#981F4B#981F4B
#981F4B is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.158 H 4.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #981F4B |
|---|---|
| RGB | rgb(152, 31, 75) |
| HSL | hsl(338, 66%, 36%) |
| HSV | hsv(338, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 50.7%, 40.4%) |
| CIE-LAB | lab(34.33, 51.53, 4.94) |
| CIE-LCH | lch(34.33, 51.77, 5.48°) |
| OKLab | oklab(45.44% 0.1577 0.0131) |
| OKLCH | oklch(45.44% 0.158 4.7) |
| XYZ | xyz(14.7102, 8.1654, 7.4567) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.76
Purple Red
#990147
ΔE00 2.32
Violet Red
#A50055
ΔE00 3.78
Mulberry
#920A4E
ΔE00 3.93
Purplish Red
#B0054B
ΔE00 4.62
Raspberry (survey)
#B00149
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F4B #1F986C
analogous
#981F87 #981F4B #98301F
triadic
#981F4B #4B981F #1F4B98
tetradic
#981F4B #87981F #1F986C #301F98
square
#981F4B #87981F #1F986C #301F98
split-complementary
#981F4B #1F9830 #1F8798
monochromatic
#320A19 #651532 #981F4B #CB2964 #DC5586
Accessibility & contrast
On white
7.98
#981F4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#981F4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F4B
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F4B | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E424C
Deuteranopia (green-blind)
#5E5948
Tritanopia (blue-blind)
#A60032
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #981f4b; /* rgb */ color: rgb(152, 31, 75); /* oklch */ color: oklch(45.4% 0.158 4.7);
Tailwind
colors: {
custom: {
50: '#bc687d',
500: '#981f4b',
950: '#000000',
},
}SCSS
$custom: #981f4b; $custom-light: #bc687d; $custom-dark: #000000;
JSON
{
"hex": "#981f4b",
"rgb": {
"r": 152,
"g": 31,
"b": 75
},
"hsl": {
"h": 338.182,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.45442,
"c": 0.15824,
"h": 4.7
},
"luminance": 0.08163
}Semantic roles & 50–950 ramp
primary
#981F4B
secondary
#53C098
accent
#E9AB3F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B