#982C71#982C71

#982C71 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.0% C 0.160 H 345.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#982C71
RGBrgb(152, 44, 113)
HSLhsl(322, 55%, 38%)
HSVhsv(322, 71%, 60%)
CMYKcmyk(0%, 71.1%, 25.7%, 40.4%)
CIE-LABlab(37.24, 51.27, -15.04)
CIE-LCHlch(37.24, 53.43, 343.65°)
OKLaboklab(48.02% 0.1551 -0.0399)
OKLCHoklch(48.02% 0.16 345.6)
XYZxyz(16.8309, 9.6708, 16.5999)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982C71 #2C9853
analogous
#892C98 #982C71 #982C3B
triadic
#982C71 #71982C #2C7198
tetradic
#982C71 #98892C #2C9853 #2C3B98
square
#982C71 #98892C #2C9853 #2C3B98
split-complementary
#982C71 #3B982C #2C9889
monochromatic
#39112A #691E4E #982C71 #C63B94 #D46AAE

Accessibility & contrast

On white

7.16
#982C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#982C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982C71
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982C71#FFFFFF#000000##FFFFFF
##982C711.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394C73
Deuteranopia (green-blind)
#595E6E
Tritanopia (blue-blind)
#A22A4A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #982c71;
/* rgb */ color: rgb(152, 44, 113);
/* oklch */ color: oklch(48.0% 0.160 345.6);
Tailwind
colors: {
  custom: {
    50: '#ba6e9a',
    500: '#982c71',
    950: '#000000',
  },
}
SCSS
$custom: #982c71;
$custom-light: #ba6e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#982c71",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 321.667,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48016,
    "c": 0.16015,
    "h": 345.6
  },
  "luminance": 0.09669
}

Semantic roles & 50–950 ramp

primary
#982C71
secondary
#65BB84
accent
#DE7F49
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #982C71

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

Preview Lab → · Contrast checker → · Palette generator →

#982C71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva