#981B56#981B56

#981B56 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.165 H 358.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#981B56
RGBrgb(152, 27, 86)
HSLhsl(332, 70%, 35%)
HSVhsv(332, 82%, 60%)
CMYKcmyk(0%, 82.2%, 43.4%, 40.4%)
CIE-LABlab(34.26, 53.70, -2.30)
CIE-LCHlch(34.26, 53.75, 357.54°)
OKLaboklab(45.5% 0.1653 -0.0054)
OKLCHoklch(45.5% 0.165 358.1)
XYZxyz(15.0217, 8.1332, 9.5811)
Luminance0.0813 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B56 #1B985D
analogous
#981B94 #981B56 #981F1B
triadic
#981B56 #56981B #1B5698
tetradic
#981B56 #94981B #1B985D #1F1B98
square
#981B56 #94981B #1B985D #1F1B98
split-complementary
#981B56 #1B981F #1B9498
monochromatic
#30091B #641239 #981B56 #CC2473 #E04E93

Accessibility & contrast

On white

8.00
#981B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981B56
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981B56#FFFFFF#000000##FFFFFF
##981B561.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394257
Deuteranopia (green-blind)
#5B5953
Tritanopia (blue-blind)
#A50036
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #981b56;
/* rgb */ color: rgb(152, 27, 86);
/* oklch */ color: oklch(45.5% 0.165 358.1);
Tailwind
colors: {
  custom: {
    50: '#bc6785',
    500: '#981b56',
    950: '#000000',
  },
}
SCSS
$custom: #981b56;
$custom-light: #bc6785;
$custom-dark: #000000;
JSON
{
  "hex": "#981b56",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 86
  },
  "hsl": {
    "h": 331.68,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45504,
    "c": 0.16535,
    "h": 358.1
  },
  "luminance": 0.08131
}

Semantic roles & 50–950 ramp

primary
#981B56
secondary
#4DC28B
accent
#ED993B
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #981B56

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

Preview Lab → · Contrast checker → · Palette generator →

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