#982A7D#982A7D

#982A7D is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.170 H 339.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#982A7D
RGBrgb(152, 42, 125)
HSLhsl(315, 57%, 38%)
HSVhsv(315, 72%, 60%)
CMYKcmyk(0%, 72.4%, 17.8%, 40.4%)
CIE-LABlab(37.51, 53.71, -22.14)
CIE-LCHlch(37.51, 58.09, 337.60°)
OKLaboklab(48.38% 0.1596 -0.0598)
OKLCHoklch(48.38% 0.17 339.5)
XYZxyz(17.4790, 9.8137, 20.3717)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982A7D #2A9845
analogous
#7C2A98 #982A7D #982A46
triadic
#982A7D #7D982A #2A7D98
tetradic
#982A7D #987C2A #2A9845 #2A4698
square
#982A7D #987C2A #2A9845 #2A4698
split-complementary
#982A7D #46982A #2A987C
monochromatic
#38102E #681D56 #982A7D #C837A4 #D567BA

Accessibility & contrast

On white

7.09
#982A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#982A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982A7D
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982A7D#FFFFFF#000000##FFFFFF
##982A7D1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7F
Deuteranopia (green-blind)
#545F7A
Tritanopia (blue-blind)
#A12E50
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #982a7d;
/* rgb */ color: rgb(152, 42, 125);
/* oklch */ color: oklch(48.4% 0.170 339.5);
Tailwind
colors: {
  custom: {
    50: '#ba6ea3',
    500: '#982a7d',
    950: '#000000',
  },
}
SCSS
$custom: #982a7d;
$custom-light: #ba6ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#982a7d",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 314.727,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48378,
    "c": 0.17049,
    "h": 339.5
  },
  "luminance": 0.09812
}

Semantic roles & 50–950 ramp

primary
#982A7D
secondary
#62BB78
accent
#E06D48
background
#FBF7FA
surface
#F7EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #982A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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