#982E7D#982E7D

#982E7D is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.165 H 339.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#982E7D
RGBrgb(152, 46, 125)
HSLhsl(315, 54%, 39%)
HSVhsv(315, 70%, 60%)
CMYKcmyk(0%, 69.7%, 17.8%, 40.4%)
CIE-LABlab(38.04, 52.20, -21.31)
CIE-LCHlch(38.04, 56.38, 337.80°)
OKLaboklab(48.77% 0.1551 -0.0575)
OKLCHoklch(48.77% 0.165 339.7)
XYZxyz(17.6280, 10.1117, 20.4214)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982E7D #2E9849
analogous
#7E2E98 #982E7D #982E48
triadic
#982E7D #7D982E #2E7D98
tetradic
#982E7D #987E2E #2E9849 #2E4898
square
#982E7D #987E2E #2E9849 #2E4898
split-complementary
#982E7D #48982E #2E987E
monochromatic
#3A1230 #692056 #982E7D #C53EA3 #D36DB9

Accessibility & contrast

On white

6.95
#982E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#982E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982E7D
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982E7D#FFFFFF#000000##FFFFFF
##982E7D1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F7F
Deuteranopia (green-blind)
#56607A
Tritanopia (blue-blind)
#A13151
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982e7d;
/* rgb */ color: rgb(152, 46, 125);
/* oklch */ color: oklch(48.8% 0.165 339.7);
Tailwind
colors: {
  custom: {
    50: '#ba70a3',
    500: '#982e7d',
    950: '#000000',
  },
}
SCSS
$custom: #982e7d;
$custom-light: #ba70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#982e7d",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 315.283,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48768,
    "c": 0.16542,
    "h": 339.7
  },
  "luminance": 0.1011
}

Semantic roles & 50–950 ramp

primary
#982E7D
secondary
#68BA7D
accent
#DD704B
background
#FBF7FA
surface
#F7EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #982E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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