#982C78#982C78

#982C78 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.165 H 342.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#982C78
RGBrgb(152, 44, 120)
HSLhsl(318, 55%, 38%)
HSVhsv(318, 71%, 60%)
CMYKcmyk(0%, 71.1%, 21.1%, 40.4%)
CIE-LABlab(37.54, 52.24, -18.96)
CIE-LCHlch(37.54, 55.58, 340.05°)
OKLaboklab(48.33% 0.1566 -0.0509)
OKLCHoklch(48.33% 0.165 342)
XYZxyz(17.2403, 9.8345, 18.7560)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982C78 #2C984C
analogous
#822C98 #982C78 #982C42
triadic
#982C78 #78982C #2C7898
tetradic
#982C78 #98822C #2C984C #2C4298
square
#982C78 #98822C #2C984C #2C4298
split-complementary
#982C78 #42982C #2C9882
monochromatic
#39112D #691E53 #982C78 #C63B9D #D46AB5

Accessibility & contrast

On white

7.08
#982C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#982C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982C78
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982C78#FFFFFF#000000##FFFFFF
##982C781.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354D7A
Deuteranopia (green-blind)
#575F75
Tritanopia (blue-blind)
#A12D4E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #982c78;
/* rgb */ color: rgb(152, 44, 120);
/* oklch */ color: oklch(48.3% 0.165 342.0);
Tailwind
colors: {
  custom: {
    50: '#ba6f9f',
    500: '#982c78',
    950: '#000000',
  },
}
SCSS
$custom: #982c78;
$custom-light: #ba6f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#982c78",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 120
  },
  "hsl": {
    "h": 317.778,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48332,
    "c": 0.16461,
    "h": 342
  },
  "luminance": 0.09833
}

Semantic roles & 50–950 ramp

primary
#982C78
secondary
#65BB7E
accent
#DE7649
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #982C78

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

Preview Lab → · Contrast checker → · Palette generator →

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