#982D79#982D79

#982D79 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.164 H 341.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#982D79
RGBrgb(152, 45, 121)
HSLhsl(317, 54%, 39%)
HSVhsv(317, 70%, 60%)
CMYKcmyk(0%, 70.4%, 20.4%, 40.4%)
CIE-LABlab(37.72, 52.00, -19.31)
CIE-LCHlch(37.72, 55.47, 339.63°)
OKLaboklab(48.48% 0.1556 -0.0519)
OKLCHoklch(48.48% 0.164 341.6)
XYZxyz(17.3390, 9.9343, 19.0898)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982D79 #2D984C
analogous
#812D98 #982D79 #982D43
triadic
#982D79 #79982D #2D7998
tetradic
#982D79 #98812D #2D984C #2D4398
square
#982D79 #98812D #2D984C #2D4398
split-complementary
#982D79 #43982D #2D9881
monochromatic
#3A112E #691F53 #982D79 #C53D9E #D36CB5

Accessibility & contrast

On white

7.03
#982D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#982D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982D79
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982D79#FFFFFF#000000##FFFFFF
##982D791.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364E7B
Deuteranopia (green-blind)
#575F76
Tritanopia (blue-blind)
#A12F4F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982d79;
/* rgb */ color: rgb(152, 45, 121);
/* oklch */ color: oklch(48.5% 0.164 341.6);
Tailwind
colors: {
  custom: {
    50: '#ba6fa0',
    500: '#982d79',
    950: '#000000',
  },
}
SCSS
$custom: #982d79;
$custom-light: #ba6fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#982d79",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 317.383,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48478,
    "c": 0.16399,
    "h": 341.6
  },
  "luminance": 0.09933
}

Semantic roles & 50–950 ramp

primary
#982D79
secondary
#66BA7F
accent
#DE754A
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #982D79

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

Preview Lab → · Contrast checker → · Palette generator →

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