#981B54#981B54

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

Color values

HEX#981B54
RGBrgb(152, 27, 84)
HSLhsl(333, 70%, 35%)
HSVhsv(333, 82%, 60%)
CMYKcmyk(0%, 82.2%, 44.7%, 40.4%)
CIE-LABlab(34.19, 53.50, -1.10)
CIE-LCHlch(34.19, 53.52, 358.82°)
OKLaboklab(45.43% 0.1646 -0.0023)
OKLCHoklch(45.43% 0.165 359.2)
XYZxyz(14.9423, 8.1014, 9.1627)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B54 #1B985F
analogous
#981B92 #981B54 #98211B
triadic
#981B54 #54981B #1B5498
tetradic
#981B54 #92981B #1B985F #211B98
square
#981B54 #92981B #1B985F #211B98
split-complementary
#981B54 #1B9821 #1B9298
monochromatic
#30091B #641237 #981B54 #CC2471 #E04E90

Accessibility & contrast

On white

8.02
#981B54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#981B54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981B54
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981B54#FFFFFF#000000##FFFFFF
##981B541.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394155
Deuteranopia (green-blind)
#5B5951
Tritanopia (blue-blind)
#A50035
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981b54;
/* rgb */ color: rgb(152, 27, 84);
/* oklch */ color: oklch(45.4% 0.165 359.2);
Tailwind
colors: {
  custom: {
    50: '#bc6784',
    500: '#981b54',
    950: '#000000',
  },
}
SCSS
$custom: #981b54;
$custom-light: #bc6784;
$custom-dark: #000000;
JSON
{
  "hex": "#981b54",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 84
  },
  "hsl": {
    "h": 332.64,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45434,
    "c": 0.16462,
    "h": 359.2
  },
  "luminance": 0.08099
}

Semantic roles & 50–950 ramp

primary
#981B54
secondary
#4DC28D
accent
#ED9C3B
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #981B54

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

Preview Lab → · Contrast checker → · Palette generator →

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