#981B49#981B49

#981B49 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.161 H 5.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#981B49
RGBrgb(152, 27, 73)
HSLhsl(338, 70%, 35%)
HSVhsv(338, 82%, 60%)
CMYKcmyk(0%, 82.2%, 52%, 40.4%)
CIE-LABlab(33.86, 52.51, 5.59)
CIE-LCHlch(33.86, 52.81, 6.07°)
OKLaboklab(45.08% 0.1607 0.0147)
OKLCHoklch(45.08% 0.161 5.2)
XYZxyz(14.5448, 7.9424, 7.0692)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B49 #1B986A
analogous
#981B87 #981B49 #982C1B
triadic
#981B49 #49981B #1B4998
tetradic
#981B49 #87981B #1B986A #2C1B98
square
#981B49 #87981B #1B986A #2C1B98
split-complementary
#981B49 #1B982C #1B8798
monochromatic
#300917 #641230 #981B49 #CC2462 #E04E83

Accessibility & contrast

On white

8.11
#981B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#981B49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981B49
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981B49#FFFFFF#000000##FFFFFF
##981B491.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C404A
Deuteranopia (green-blind)
#5D5846
Tritanopia (blue-blind)
#A60030
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981b49;
/* rgb */ color: rgb(152, 27, 73);
/* oklch */ color: oklch(45.1% 0.161 5.2);
Tailwind
colors: {
  custom: {
    50: '#bc667b',
    500: '#981b49',
    950: '#000000',
  },
}
SCSS
$custom: #981b49;
$custom-light: #bc667b;
$custom-dark: #000000;
JSON
{
  "hex": "#981b49",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 73
  },
  "hsl": {
    "h": 337.92,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45084,
    "c": 0.16134,
    "h": 5.2
  },
  "luminance": 0.0794
}

Semantic roles & 50–950 ramp

primary
#981B49
secondary
#4DC297
accent
#EDAB3B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #981B49

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

Preview Lab → · Contrast checker → · Palette generator →

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