#982D7E#982D7E

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

Color values

HEX#982D7E
RGBrgb(152, 45, 126)
HSLhsl(315, 54%, 39%)
HSVhsv(315, 70%, 60%)
CMYKcmyk(0%, 70.4%, 17.1%, 40.4%)
CIE-LABlab(37.95, 52.73, -22.07)
CIE-LCHlch(37.95, 57.17, 337.29°)
OKLaboklab(48.72% 0.1564 -0.0596)
OKLCHoklch(48.72% 0.167 339.1)
XYZxyz(17.6536, 10.0602, 20.7467)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982D7E #2D9847
analogous
#7C2D98 #982D7E #982D48
triadic
#982D7E #7E982D #2D7E98
tetradic
#982D7E #987C2D #2D9847 #2D4898
square
#982D7E #987C2D #2D9847 #2D4898
split-complementary
#982D7E #48982D #2D987C
monochromatic
#3A1130 #691F57 #982D7E #C53DA4 #D36CBA

Accessibility & contrast

On white

6.97
#982D7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#982D7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982D7E
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982D7E#FFFFFF#000000##FFFFFF
##982D7E1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334F80
Deuteranopia (green-blind)
#555F7B
Tritanopia (blue-blind)
#A13151
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982d7e;
/* rgb */ color: rgb(152, 45, 126);
/* oklch */ color: oklch(48.7% 0.167 339.1);
Tailwind
colors: {
  custom: {
    50: '#ba6fa3',
    500: '#982d7e',
    950: '#000000',
  },
}
SCSS
$custom: #982d7e;
$custom-light: #ba6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#982d7e",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 314.579,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48716,
    "c": 0.16742,
    "h": 339.1
  },
  "luminance": 0.10059
}

Semantic roles & 50–950 ramp

primary
#982D7E
secondary
#66BA7B
accent
#DE6E4A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #982D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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