#982B7E#982B7E

#982B7E is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.170 H 339.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#982B7E
RGBrgb(152, 43, 126)
HSLhsl(314, 56%, 38%)
HSVhsv(314, 72%, 60%)
CMYKcmyk(0%, 71.7%, 17.1%, 40.4%)
CIE-LABlab(37.68, 53.49, -22.48)
CIE-LCHlch(37.68, 58.02, 337.20°)
OKLaboklab(48.52% 0.1587 -0.0608)
OKLCHoklch(48.52% 0.17 339)
XYZxyz(17.5791, 9.9112, 20.7218)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982B7E #2B9845
analogous
#7B2B98 #982B7E #982B47
triadic
#982B7E #7E982B #2B7E98
tetradic
#982B7E #987B2B #2B9845 #2B4798
square
#982B7E #987B2B #2B9845 #2B4798
split-complementary
#982B7E #47982B #2B987B
monochromatic
#39102F #681E56 #982B7E #C739A5 #D569BB

Accessibility & contrast

On white

7.04
#982B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#982B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982B7E
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982B7E#FFFFFF#000000##FFFFFF
##982B7E1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E80
Deuteranopia (green-blind)
#545F7B
Tritanopia (blue-blind)
#A12F51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982b7e;
/* rgb */ color: rgb(152, 43, 126);
/* oklch */ color: oklch(48.5% 0.170 339.0);
Tailwind
colors: {
  custom: {
    50: '#ba6ea3',
    500: '#982b7e',
    950: '#000000',
  },
}
SCSS
$custom: #982b7e;
$custom-light: #ba6ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#982b7e",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 314.312,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48522,
    "c": 0.16995,
    "h": 339
  },
  "luminance": 0.0991
}

Semantic roles & 50–950 ramp

primary
#982B7E
secondary
#64BB79
accent
#DF6D49
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #982B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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