#982E71#982E71

#982E71 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.2% C 0.158 H 345.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#982E71
RGBrgb(152, 46, 113)
HSLhsl(322, 54%, 39%)
HSVhsv(322, 70%, 60%)
CMYKcmyk(0%, 69.7%, 25.7%, 40.4%)
CIE-LABlab(37.52, 50.49, -14.62)
CIE-LCHlch(37.52, 52.57, 343.86°)
OKLaboklab(48.22% 0.1527 -0.0387)
OKLCHoklch(48.22% 0.158 345.8)
XYZxyz(16.9072, 9.8234, 16.6253)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982E71 #2E9855
analogous
#8A2E98 #982E71 #982E3C
triadic
#982E71 #71982E #2E7198
tetradic
#982E71 #988A2E #2E9855 #2E3C98
square
#982E71 #988A2E #2E9855 #2E3C98
split-complementary
#982E71 #3C982E #2E988A
monochromatic
#3A122B #69204E #982E71 #C53E93 #D36DAE

Accessibility & contrast

On white

7.08
#982E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982E71
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982E71#FFFFFF#000000##FFFFFF
##982E711.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4D73
Deuteranopia (green-blind)
#5A5F6F
Tritanopia (blue-blind)
#A22C4B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #982e71;
/* rgb */ color: rgb(152, 46, 113);
/* oklch */ color: oklch(48.2% 0.158 345.8);
Tailwind
colors: {
  custom: {
    50: '#ba6f9a',
    500: '#982e71',
    950: '#000000',
  },
}
SCSS
$custom: #982e71;
$custom-light: #ba6f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#982e71",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 322.075,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4822,
    "c": 0.15754,
    "h": 345.8
  },
  "luminance": 0.09822
}

Semantic roles & 50–950 ramp

primary
#982E71
secondary
#68BA86
accent
#DD814B
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #982E71

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

Preview Lab → · Contrast checker → · Palette generator →

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