#981F5D#981F5D

#981F5D is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.164 H 354.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#981F5D
RGBrgb(152, 31, 93)
HSLhsl(329, 66%, 36%)
HSVhsv(329, 80%, 60%)
CMYKcmyk(0%, 79.6%, 38.8%, 40.4%)
CIE-LABlab(34.90, 53.29, -5.88)
CIE-LCHlch(34.90, 53.61, 353.71°)
OKLaboklab(46.05% 0.1638 -0.0148)
OKLCHoklch(46.05% 0.164 354.8)
XYZxyz(15.4157, 8.4476, 11.1726)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F5D #1F985A
analogous
#961F98 #981F5D #981F21
triadic
#981F5D #5D981F #1F5D98
tetradic
#981F5D #98961F #1F985A #1F2198
square
#981F5D #98961F #1F985A #1F2198
split-complementary
#981F5D #21981F #1F9896
monochromatic
#320A1F #65153E #981F5D #CB297C #DC559A

Accessibility & contrast

On white

7.81
#981F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#981F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F5D
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F5D#FFFFFF#000000##FFFFFF
##981F5D1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38445F
Deuteranopia (green-blind)
#5A5A5A
Tritanopia (blue-blind)
#A40E3B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #981f5d;
/* rgb */ color: rgb(152, 31, 93);
/* oklch */ color: oklch(46.1% 0.164 354.8);
Tailwind
colors: {
  custom: {
    50: '#bb688a',
    500: '#981f5d',
    950: '#000000',
  },
}
SCSS
$custom: #981f5d;
$custom-light: #bb688a;
$custom-dark: #000000;
JSON
{
  "hex": "#981f5d",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 329.256,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4605,
    "c": 0.16447,
    "h": 354.8
  },
  "luminance": 0.08446
}

Semantic roles & 50–950 ramp

primary
#981F5D
secondary
#53C088
accent
#E9923F
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #981F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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