#981F57#981F57

#981F57 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.162 H 358.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#981F57
RGBrgb(152, 31, 87)
HSLhsl(332, 66%, 36%)
HSVhsv(332, 80%, 60%)
CMYKcmyk(0%, 79.6%, 42.8%, 40.4%)
CIE-LABlab(34.69, 52.66, -2.31)
CIE-LCHlch(34.69, 52.71, 357.49°)
OKLaboklab(45.83% 0.1619 -0.0054)
OKLCHoklch(45.83% 0.162 358.1)
XYZxyz(15.1603, 8.3455, 9.8275)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F57 #1F9860
analogous
#981F93 #981F57 #98231F
triadic
#981F57 #57981F #1F5798
tetradic
#981F57 #93981F #1F9860 #231F98
square
#981F57 #93981F #1F9860 #231F98
split-complementary
#981F57 #1F9823 #1F9398
monochromatic
#320A1D #65153A #981F57 #CB2974 #DC5594

Accessibility & contrast

On white

7.87
#981F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#981F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F57
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F57#FFFFFF#000000##FFFFFF
##981F571.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4358
Deuteranopia (green-blind)
#5B5A54
Tritanopia (blue-blind)
#A50738
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #981f57;
/* rgb */ color: rgb(152, 31, 87);
/* oklch */ color: oklch(45.8% 0.162 358.1);
Tailwind
colors: {
  custom: {
    50: '#bb6886',
    500: '#981f57',
    950: '#000000',
  },
}
SCSS
$custom: #981f57;
$custom-light: #bb6886;
$custom-dark: #000000;
JSON
{
  "hex": "#981f57",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 87
  },
  "hsl": {
    "h": 332.231,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45832,
    "c": 0.16202,
    "h": 358.1
  },
  "luminance": 0.08343
}

Semantic roles & 50–950 ramp

primary
#981F57
secondary
#53C08D
accent
#E99A3F
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #981F57

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#981F57 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva