#981D4B#981D4B
#981D4B is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.160 H 4.4°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #981D4B |
|---|---|
| RGB | rgb(152, 29, 75) |
| HSL | hsl(338, 68%, 35%) |
| HSV | hsv(338, 81%, 60%) |
| CMYK | cmyk(0%, 80.9%, 50.7%, 40.4%) |
| CIE-LAB | lab(34.12, 52.12, 4.64) |
| CIE-LCH | lch(34.12, 52.33, 5.09°) |
| OKLab | oklab(45.29% 0.1596 0.0123) |
| OKLCH | oklch(45.29% 0.16 4.4) |
| XYZ | xyz(14.6596, 8.0642, 7.4399) |
| Luminance | 0.0806 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.47
Purple Red
#990147
ΔE00 2.06
Violet Red
#A50055
ΔE00 3.58
Mulberry
#920A4E
ΔE00 3.66
Reddish Purple
#910951
ΔE00 4.60
Purplish Red
#B0054B
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981D4B #1D986A
analogous
#981D88 #981D4B #982C1D
triadic
#981D4B #4B981D #1D4B98
tetradic
#981D4B #88981D #1D986A #2C1D98
square
#981D4B #88981D #1D986A #2C1D98
split-complementary
#981D4B #1D982C #1D8898
monochromatic
#310918 #651332 #981D4B #CB2764 #DE5286
Accessibility & contrast
On white
8.04
#981D4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#981D4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981D4B
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981D4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981D4B | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D414C
Deuteranopia (green-blind)
#5D5948
Tritanopia (blue-blind)
#A60032
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981d4b; /* rgb */ color: rgb(152, 29, 75); /* oklch */ color: oklch(45.3% 0.160 4.4);
Tailwind
colors: {
custom: {
50: '#bc677d',
500: '#981d4b',
950: '#000000',
},
}SCSS
$custom: #981d4b; $custom-light: #bc677d; $custom-dark: #000000;
JSON
{
"hex": "#981d4b",
"rgb": {
"r": 152,
"g": 29,
"b": 75
},
"hsl": {
"h": 337.561,
"s": 67.956,
"l": 35.49
},
"oklch": {
"l": 0.45289,
"c": 0.16009,
"h": 4.4
},
"luminance": 0.08062
}Semantic roles & 50–950 ramp
primary
#981D4B
secondary
#50C197
accent
#EBAA3D
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B