#982C81#982C81

#982C81 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.171 H 337.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#982C81
RGBrgb(152, 44, 129)
HSLhsl(313, 55%, 38%)
HSVhsv(313, 71%, 60%)
CMYKcmyk(0%, 71.1%, 15.1%, 40.4%)
CIE-LABlab(37.96, 53.56, -23.92)
CIE-LCHlch(37.96, 58.66, 335.94°)
OKLaboklab(48.77% 0.158 -0.0649)
OKLCHoklch(48.77% 0.171 337.7)
XYZxyz(17.8124, 10.0634, 21.7689)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982C81 #2C9843
analogous
#792C98 #982C81 #982C4B
triadic
#982C81 #81982C #2C8198
tetradic
#982C81 #98792C #2C9843 #2C4B98
square
#982C81 #98792C #2C9843 #2C4B98
split-complementary
#982C81 #4B982C #2C9879
monochromatic
#391130 #691E59 #982C81 #C63BA9 #D46ABE

Accessibility & contrast

On white

6.97
#982C81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#982C81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982C81
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982C81#FFFFFF#000000##FFFFFF
##982C811.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304F83
Deuteranopia (green-blind)
#535F7E
Tritanopia (blue-blind)
#A03153
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982c81;
/* rgb */ color: rgb(152, 44, 129);
/* oklch */ color: oklch(48.8% 0.171 337.7);
Tailwind
colors: {
  custom: {
    50: '#ba6fa6',
    500: '#982c81',
    950: '#000000',
  },
}
SCSS
$custom: #982c81;
$custom-light: #ba6fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#982c81",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 312.778,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48766,
    "c": 0.17082,
    "h": 337.7
  },
  "luminance": 0.10062
}

Semantic roles & 50–950 ramp

primary
#982C81
secondary
#65BB77
accent
#DE6949
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #982C81

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

Preview Lab → · Contrast checker → · Palette generator →

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