#982E7F#982E7F

#982E7F is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.167 H 338.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#982E7F
RGBrgb(152, 46, 127)
HSLhsl(314, 54%, 39%)
HSVhsv(314, 70%, 60%)
CMYKcmyk(0%, 69.7%, 16.4%, 40.4%)
CIE-LABlab(38.13, 52.50, -22.40)
CIE-LCHlch(38.13, 57.08, 336.89°)
OKLaboklab(48.86% 0.1554 -0.0606)
OKLCHoklch(48.86% 0.167 338.7)
XYZxyz(17.7570, 10.1633, 21.1011)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982E7F #2E9847
analogous
#7C2E98 #982E7F #982E4A
triadic
#982E7F #7F982E #2E7F98
tetradic
#982E7F #987C2E #2E9847 #2E4A98
square
#982E7F #987C2E #2E9847 #2E4A98
split-complementary
#982E7F #4A982E #2E987C
monochromatic
#3A1230 #692058 #982E7F #C53EA5 #D36DBB

Accessibility & contrast

On white

6.93
#982E7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#982E7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982E7F
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982E7F#FFFFFF#000000##FFFFFF
##982E7F1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334F81
Deuteranopia (green-blind)
#55607C
Tritanopia (blue-blind)
#A13252
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982e7f;
/* rgb */ color: rgb(152, 46, 127);
/* oklch */ color: oklch(48.9% 0.167 338.7);
Tailwind
colors: {
  custom: {
    50: '#ba70a4',
    500: '#982e7f',
    950: '#000000',
  },
}
SCSS
$custom: #982e7f;
$custom-light: #ba70a4;
$custom-dark: #000000;
JSON
{
  "hex": "#982e7f",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 314.151,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48865,
    "c": 0.16683,
    "h": 338.7
  },
  "luminance": 0.10162
}

Semantic roles & 50–950 ramp

primary
#982E7F
secondary
#68BA7B
accent
#DD6D4B
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #982E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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