#981F50#981F50

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

Color values

HEX#981F50
RGBrgb(152, 31, 80)
HSLhsl(336, 66%, 36%)
HSVhsv(336, 80%, 60%)
CMYKcmyk(0%, 79.6%, 47.4%, 40.4%)
CIE-LABlab(34.47, 51.98, 1.90)
CIE-LCHlch(34.47, 52.02, 2.09°)
OKLaboklab(45.6% 0.1595 0.0054)
OKLCHoklch(45.6% 0.16 2)
XYZxyz(14.8881, 8.2366, 8.3937)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F50 #1F9867
analogous
#981F8C #981F50 #982A1F
triadic
#981F50 #50981F #1F5098
tetradic
#981F50 #8C981F #1F9867 #2A1F98
square
#981F50 #8C981F #1F9867 #2A1F98
split-complementary
#981F50 #1F982A #1F8C98
monochromatic
#320A1A #651535 #981F50 #CB296B #DC558C

Accessibility & contrast

On white

7.93
#981F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#981F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F50
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F50#FFFFFF#000000##FFFFFF
##981F501.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4251
Deuteranopia (green-blind)
#5D594D
Tritanopia (blue-blind)
#A60035
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #981f50;
/* rgb */ color: rgb(152, 31, 80);
/* oklch */ color: oklch(45.6% 0.160 2.0);
Tailwind
colors: {
  custom: {
    50: '#bc6880',
    500: '#981f50',
    950: '#000000',
  },
}
SCSS
$custom: #981f50;
$custom-light: #bc6880;
$custom-dark: #000000;
JSON
{
  "hex": "#981f50",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 80
  },
  "hsl": {
    "h": 335.702,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45597,
    "c": 0.15962,
    "h": 2
  },
  "luminance": 0.08235
}

Semantic roles & 50–950 ramp

primary
#981F50
secondary
#53C094
accent
#E9A43F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #981F50

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

Preview Lab → · Contrast checker → · Palette generator →

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