#981F66#981F66
#981F66 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.169 H 350.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #981F66 |
|---|---|
| RGB | rgb(152, 31, 102) |
| HSL | hsl(325, 66%, 36%) |
| HSV | hsv(325, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 32.9%, 40.4%) |
| CIE-LAB | lab(35.24, 54.30, -11.14) |
| CIE-LCH | lch(35.24, 55.43, 348.41°) |
| OKLab | oklab(46.41% 0.1663 -0.0291) |
| OKLCH | oklch(46.41% 0.169 350.1) |
| XYZ | xyz(15.8381, 8.6166, 13.3969) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.13
Deep Magenta
#A0025C
ΔE00 3.30
Dark Fuchsia
#9D0759
ΔE00 3.58
Dark Magenta
#960056
ΔE00 3.82
Reddish Purple
#910951
ΔE00 4.72
Mulberry
#920A4E
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F66 #1F9851
analogous
#8D1F98 #981F66 #981F2A
triadic
#981F66 #66981F #1F6698
tetradic
#981F66 #988D1F #1F9851 #1F2A98
square
#981F66 #988D1F #1F9851 #1F2A98
split-complementary
#981F66 #2A981F #1F988D
monochromatic
#320A22 #651544 #981F66 #CB2988 #DC55A4
Accessibility & contrast
On white
7.71
#981F66 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#981F66 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F66
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F66 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354568
Deuteranopia (green-blind)
#585B63
Tritanopia (blue-blind)
#A41540
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #981f66; /* rgb */ color: rgb(152, 31, 102); /* oklch */ color: oklch(46.4% 0.169 350.1);
Tailwind
colors: {
custom: {
50: '#bb6991',
500: '#981f66',
950: '#000000',
},
}SCSS
$custom: #981f66; $custom-light: #bb6991; $custom-dark: #000000;
JSON
{
"hex": "#981f66",
"rgb": {
"r": 152,
"g": 31,
"b": 102
},
"hsl": {
"h": 324.793,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.46406,
"c": 0.16879,
"h": 350.1
},
"luminance": 0.08615
}Semantic roles & 50–950 ramp
primary
#981F66
secondary
#53C080
accent
#E9853F
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D