#981B58#981B58

#981B58 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.166 H 357.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#981B58
RGBrgb(152, 27, 88)
HSLhsl(331, 70%, 35%)
HSVhsv(331, 82%, 60%)
CMYKcmyk(0%, 82.2%, 42.1%, 40.4%)
CIE-LABlab(34.33, 53.90, -3.50)
CIE-LCHlch(34.33, 54.01, 356.28°)
OKLaboklab(45.58% 0.1659 -0.0085)
OKLCHoklch(45.58% 0.166 357.1)
XYZxyz(15.1034, 8.1658, 10.0115)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B58 #1B985B
analogous
#981B96 #981B58 #981D1B
triadic
#981B58 #58981B #1B5898
tetradic
#981B58 #96981B #1B985B #1D1B98
square
#981B58 #96981B #1B985B #1D1B98
split-complementary
#981B58 #1B981D #1B9698
monochromatic
#30091C #64123A #981B58 #CC2476 #E04E95

Accessibility & contrast

On white

7.98
#981B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#981B58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981B58
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981B58#FFFFFF#000000##FFFFFF
##981B581.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384259
Deuteranopia (green-blind)
#5A5955
Tritanopia (blue-blind)
#A50037
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #981b58;
/* rgb */ color: rgb(152, 27, 88);
/* oklch */ color: oklch(45.6% 0.166 357.1);
Tailwind
colors: {
  custom: {
    50: '#bb6787',
    500: '#981b58',
    950: '#000000',
  },
}
SCSS
$custom: #981b58;
$custom-light: #bb6787;
$custom-dark: #000000;
JSON
{
  "hex": "#981b58",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 88
  },
  "hsl": {
    "h": 330.72,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45575,
    "c": 0.16612,
    "h": 357.1
  },
  "luminance": 0.08164
}

Semantic roles & 50–950 ramp

primary
#981B58
secondary
#4DC289
accent
#ED963B
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #981B58

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

Preview Lab → · Contrast checker → · Palette generator →

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