#982A7B#982A7B

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

Color values

HEX#982A7B
RGBrgb(152, 42, 123)
HSLhsl(316, 57%, 38%)
HSVhsv(316, 72%, 60%)
CMYKcmyk(0%, 72.4%, 19.1%, 40.4%)
CIE-LABlab(37.41, 53.41, -21.04)
CIE-LCHlch(37.41, 57.41, 338.50°)
OKLaboklab(48.28% 0.1593 -0.0567)
OKLCHoklch(48.28% 0.169 340.4)
XYZxyz(17.3525, 9.7631, 19.7056)
Luminance0.0976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982A7B #2A9847
analogous
#7E2A98 #982A7B #982A44
triadic
#982A7B #7B982A #2A7B98
tetradic
#982A7B #987E2A #2A9847 #2A4498
square
#982A7B #987E2A #2A9847 #2A4498
split-complementary
#982A7B #44982A #2A987E
monochromatic
#38102D #681D54 #982A7B #C837A2 #D567B8

Accessibility & contrast

On white

7.11
#982A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982A7B
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982A7B#FFFFFF#000000##FFFFFF
##982A7B1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7D
Deuteranopia (green-blind)
#555E78
Tritanopia (blue-blind)
#A12D4F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #982a7b;
/* rgb */ color: rgb(152, 42, 123);
/* oklch */ color: oklch(48.3% 0.169 340.4);
Tailwind
colors: {
  custom: {
    50: '#ba6ea1',
    500: '#982a7b',
    950: '#000000',
  },
}
SCSS
$custom: #982a7b;
$custom-light: #ba6ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#982a7b",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 123
  },
  "hsl": {
    "h": 315.818,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48281,
    "c": 0.16912,
    "h": 340.4
  },
  "luminance": 0.09761
}

Semantic roles & 50–950 ramp

primary
#982A7B
secondary
#62BB7A
accent
#E07048
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #982A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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