#982C7D#982C7D

#982C7D is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.168 H 339.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#982C7D
RGBrgb(152, 44, 125)
HSLhsl(315, 55%, 38%)
HSVhsv(315, 71%, 60%)
CMYKcmyk(0%, 71.1%, 17.8%, 40.4%)
CIE-LABlab(37.77, 52.97, -21.73)
CIE-LCHlch(37.77, 57.25, 337.69°)
OKLaboklab(48.57% 0.1574 -0.0587)
OKLCHoklch(48.57% 0.168 339.6)
XYZxyz(17.5517, 9.9591, 20.3960)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982C7D #2C9847
analogous
#7D2C98 #982C7D #982C47
triadic
#982C7D #7D982C #2C7D98
tetradic
#982C7D #987D2C #2C9847 #2C4798
square
#982C7D #987D2C #2C9847 #2C4798
split-complementary
#982C7D #47982C #2C987D
monochromatic
#39112F #691E56 #982C7D #C63BA3 #D46ABA

Accessibility & contrast

On white

7.02
#982C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#982C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982C7D
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982C7D#FFFFFF#000000##FFFFFF
##982C7D1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E7F
Deuteranopia (green-blind)
#555F7A
Tritanopia (blue-blind)
#A13050
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982c7d;
/* rgb */ color: rgb(152, 44, 125);
/* oklch */ color: oklch(48.6% 0.168 339.6);
Tailwind
colors: {
  custom: {
    50: '#ba6fa3',
    500: '#982c7d',
    950: '#000000',
  },
}
SCSS
$custom: #982c7d;
$custom-light: #ba6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#982c7d",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 315,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48569,
    "c": 0.168,
    "h": 339.6
  },
  "luminance": 0.09957
}

Semantic roles & 50–950 ramp

primary
#982C7D
secondary
#65BB7A
accent
#DE6F49
background
#FBF7FA
surface
#F7EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #982C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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