#982E7C#982E7C

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

Color values

HEX#982E7C
RGBrgb(152, 46, 124)
HSLhsl(316, 54%, 39%)
HSVhsv(316, 70%, 60%)
CMYKcmyk(0%, 69.7%, 18.4%, 40.4%)
CIE-LABlab(38.00, 52.05, -20.76)
CIE-LCHlch(38.00, 56.04, 338.26°)
OKLaboklab(48.72% 0.1549 -0.0559)
OKLCHoklch(48.72% 0.165 340.1)
XYZxyz(17.5644, 10.0863, 20.0867)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982E7C #2E984A
analogous
#7F2E98 #982E7C #982E47
triadic
#982E7C #7C982E #2E7C98
tetradic
#982E7C #987F2E #2E984A #2E4798
square
#982E7C #987F2E #2E984A #2E4798
split-complementary
#982E7C #47982E #2E987F
monochromatic
#3A122F #692056 #982E7C #C53EA1 #D36DB8

Accessibility & contrast

On white

6.96
#982E7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #982E7C
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982E7C#FFFFFF#000000##FFFFFF
##982E7C1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7E
Deuteranopia (green-blind)
#566079
Tritanopia (blue-blind)
#A13151
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982e7c;
/* rgb */ color: rgb(152, 46, 124);
/* oklch */ color: oklch(48.7% 0.165 340.1);
Tailwind
colors: {
  custom: {
    50: '#ba70a2',
    500: '#982e7c',
    950: '#000000',
  },
}
SCSS
$custom: #982e7c;
$custom-light: #ba70a2;
$custom-dark: #000000;
JSON
{
  "hex": "#982e7c",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 315.849,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4872,
    "c": 0.16473,
    "h": 340.1
  },
  "luminance": 0.10085
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #982E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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