#982A7A#982A7A

#982A7A is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.168 H 340.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#982A7A
RGBrgb(152, 42, 122)
HSLhsl(316, 57%, 38%)
HSVhsv(316, 72%, 60%)
CMYKcmyk(0%, 72.4%, 19.7%, 40.4%)
CIE-LABlab(37.37, 53.27, -20.48)
CIE-LCHlch(37.37, 57.07, 338.97°)
OKLaboklab(48.23% 0.1592 -0.0551)
OKLCHoklch(48.23% 0.168 340.9)
XYZxyz(17.2902, 9.7382, 19.3776)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982A7A #2A9848
analogous
#7F2A98 #982A7A #982A43
triadic
#982A7A #7A982A #2A7A98
tetradic
#982A7A #987F2A #2A9848 #2A4398
square
#982A7A #987F2A #2A9848 #2A4398
split-complementary
#982A7A #43982A #2A987F
monochromatic
#38102D #681D54 #982A7A #C837A0 #D567B7

Accessibility & contrast

On white

7.13
#982A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#982A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982A7A
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982A7A#FFFFFF#000000##FFFFFF
##982A7A1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7C
Deuteranopia (green-blind)
#555E77
Tritanopia (blue-blind)
#A12C4E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #982a7a;
/* rgb */ color: rgb(152, 42, 122);
/* oklch */ color: oklch(48.2% 0.168 340.9);
Tailwind
colors: {
  custom: {
    50: '#ba6ea0',
    500: '#982a7a',
    950: '#000000',
  },
}
SCSS
$custom: #982a7a;
$custom-light: #ba6ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#982a7a",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 316.364,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48233,
    "c": 0.16845,
    "h": 340.9
  },
  "luminance": 0.09736
}

Semantic roles & 50–950 ramp

primary
#982A7A
secondary
#62BB7B
accent
#E07148
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #982A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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