#981F3F#981F3F
#981F3F is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.156 H 11.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #981F3F |
|---|---|
| RGB | rgb(152, 31, 63) |
| HSL | hsl(344, 66%, 36%) |
| HSV | hsv(344, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 58.6%, 40.4%) |
| CIE-LAB | lab(34.02, 50.57, 12.33) |
| CIE-LCH | lch(34.02, 52.05, 13.70°) |
| OKLab | oklab(45.12% 0.153 0.0308) |
| OKLCH | oklch(45.12% 0.156 11.4) |
| XYZ | xyz(14.3375, 8.0164, 5.4940) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.29
Red Wine
#8C0034
ΔE00 4.05
Rouge
#AB1239
ΔE00 4.65
Raspberry (survey)
#B00149
ΔE00 4.69
Purple Red
#990147
ΔE00 4.83
Purplish Red
#B0054B
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F3F #1F9878
analogous
#981F7B #981F3F #983B1F
triadic
#981F3F #3F981F #1F3F98
tetradic
#981F3F #7B981F #1F9878 #3B1F98
square
#981F3F #7B981F #1F9878 #3B1F98
split-complementary
#981F3F #1F983B #1F7B98
monochromatic
#320A15 #65152A #981F3F #CB2954 #DC5579
Accessibility & contrast
On white
8.07
#981F3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#981F3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F3F
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F3F | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40403F
Deuteranopia (green-blind)
#60593C
Tritanopia (blue-blind)
#A7002D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981f3f; /* rgb */ color: rgb(152, 31, 63); /* oklch */ color: oklch(45.1% 0.156 11.4);
Tailwind
colors: {
custom: {
50: '#bd6773',
500: '#981f3f',
950: '#000000',
},
}SCSS
$custom: #981f3f; $custom-light: #bd6773; $custom-dark: #000000;
JSON
{
"hex": "#981f3f",
"rgb": {
"r": 152,
"g": 31,
"b": 63
},
"hsl": {
"h": 344.132,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.45115,
"c": 0.15607,
"h": 11.4
},
"luminance": 0.08014
}Semantic roles & 50–950 ramp
primary
#981F3F
secondary
#53C0A3
accent
#E9BC3F
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130708
muted
#827A7B