#981F62#981F62
#981F62 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.167 H 352.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #981F62 |
|---|---|
| RGB | rgb(152, 31, 98) |
| HSL | hsl(327, 66%, 36%) |
| HSV | hsv(327, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 35.5%, 40.4%) |
| CIE-LAB | lab(35.08, 53.84, -8.81) |
| CIE-LCH | lch(35.08, 54.56, 350.70°) |
| OKLab | oklab(46.24% 0.1652 -0.0227) |
| OKLCH | oklch(46.24% 0.167 352.2) |
| XYZ | xyz(15.6445, 8.5391, 12.3773) |
| Luminance | 0.0854 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 2.58
Red Violet
#9E0168
ΔE00 2.68
Dark Fuchsia
#9D0759
ΔE00 2.73
Dark Magenta
#960056
ΔE00 3.13
Reddish Purple
#910951
ΔE00 3.92
Mulberry
#920A4E
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F62 #1F9855
analogous
#911F98 #981F62 #981F25
triadic
#981F62 #62981F #1F6298
tetradic
#981F62 #98911F #1F9855 #1F2598
square
#981F62 #98911F #1F9855 #1F2598
split-complementary
#981F62 #25981F #1F9891
monochromatic
#320A20 #651541 #981F62 #CB2983 #DC55A0
Accessibility & contrast
On white
7.76
#981F62 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#981F62 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F62
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F62 | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364564
Deuteranopia (green-blind)
#595A5F
Tritanopia (blue-blind)
#A4123E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #981f62; /* rgb */ color: rgb(152, 31, 98); /* oklch */ color: oklch(46.2% 0.167 352.2);
Tailwind
colors: {
custom: {
50: '#bb688e',
500: '#981f62',
950: '#000000',
},
}SCSS
$custom: #981f62; $custom-light: #bb688e; $custom-dark: #000000;
JSON
{
"hex": "#981f62",
"rgb": {
"r": 152,
"g": 31,
"b": 98
},
"hsl": {
"h": 326.777,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.46243,
"c": 0.16679,
"h": 352.2
},
"luminance": 0.08537
}Semantic roles & 50–950 ramp
primary
#981F62
secondary
#53C084
accent
#E98B3F
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D