#981F40#981F40
#981F40 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.156 H 10.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #981F40 |
|---|---|
| RGB | rgb(152, 31, 64) |
| HSL | hsl(344, 66%, 36%) |
| HSV | hsv(344, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 57.9%, 40.4%) |
| CIE-LAB | lab(34.04, 50.65, 11.71) |
| CIE-LCH | lch(34.04, 51.98, 13.02°) |
| OKLab | oklab(45.14% 0.1534 0.0294) |
| OKLCH | oklch(45.14% 0.156 10.8) |
| XYZ | xyz(14.3657, 8.0276, 5.6425) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.38
Red Wine
#8C0034
ΔE00 4.06
Purple Red
#990147
ΔE00 4.53
Raspberry (survey)
#B00149
ΔE00 4.56
Purplish Red
#B0054B
ΔE00 4.74
Berry
#990F4B
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F40 #1F9877
analogous
#981F7C #981F40 #983A1F
triadic
#981F40 #40981F #1F4098
tetradic
#981F40 #7C981F #1F9877 #3A1F98
square
#981F40 #7C981F #1F9877 #3A1F98
split-complementary
#981F40 #1F983A #1F7C98
monochromatic
#320A15 #65152B #981F40 #CB2955 #DC557A
Accessibility & contrast
On white
8.06
#981F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#981F40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F40
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F40 | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404040
Deuteranopia (green-blind)
#5F593D
Tritanopia (blue-blind)
#A7002D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981f40; /* rgb */ color: rgb(152, 31, 64); /* oklch */ color: oklch(45.1% 0.156 10.8);
Tailwind
colors: {
custom: {
50: '#bd6774',
500: '#981f40',
950: '#000000',
},
}SCSS
$custom: #981f40; $custom-light: #bd6774; $custom-dark: #000000;
JSON
{
"hex": "#981f40",
"rgb": {
"r": 152,
"g": 31,
"b": 64
},
"hsl": {
"h": 343.636,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.4514,
"c": 0.15618,
"h": 10.8
},
"luminance": 0.08026
}Semantic roles & 50–950 ramp
primary
#981F40
secondary
#53C0A2
accent
#E9BB3F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B