#981F5A#981F5A

#981F5A is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.163 H 356.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#981F5A
RGBrgb(152, 31, 90)
HSLhsl(331, 66%, 36%)
HSVhsv(331, 80%, 60%)
CMYKcmyk(0%, 79.6%, 40.8%, 40.4%)
CIE-LABlab(34.79, 52.97, -4.10)
CIE-LCHlch(34.79, 53.13, 355.57°)
OKLaboklab(45.94% 0.1629 -0.0101)
OKLCHoklch(45.94% 0.163 356.4)
XYZxyz(15.2854, 8.3955, 10.4865)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F5A #1F985D
analogous
#981F96 #981F5A #98211F
triadic
#981F5A #5A981F #1F5A98
tetradic
#981F5A #96981F #1F985D #211F98
square
#981F5A #96981F #1F985D #211F98
split-complementary
#981F5A #1F9821 #1F9698
monochromatic
#320A1E #65153C #981F5A #CB2978 #DC5597

Accessibility & contrast

On white

7.84
#981F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#981F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F5A
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F5A#FFFFFF#000000##FFFFFF
##981F5A1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39435B
Deuteranopia (green-blind)
#5B5A57
Tritanopia (blue-blind)
#A50B3A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #981f5a;
/* rgb */ color: rgb(152, 31, 90);
/* oklch */ color: oklch(45.9% 0.163 356.4);
Tailwind
colors: {
  custom: {
    50: '#bb6888',
    500: '#981f5a',
    950: '#000000',
  },
}
SCSS
$custom: #981f5a;
$custom-light: #bb6888;
$custom-dark: #000000;
JSON
{
  "hex": "#981f5a",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 90
  },
  "hsl": {
    "h": 330.744,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45939,
    "c": 0.1632,
    "h": 356.4
  },
  "luminance": 0.08394
}

Semantic roles & 50–950 ramp

primary
#981F5A
secondary
#53C08B
accent
#E9963F
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #981F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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