#982A52#982A52

#982A52 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.6% C 0.148 H 2.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#982A52
RGBrgb(152, 42, 82)
HSLhsl(338, 57%, 38%)
HSVhsv(338, 72%, 60%)
CMYKcmyk(0%, 72.4%, 46.1%, 40.4%)
CIE-LABlab(35.87, 48.40, 2.64)
CIE-LCHlch(35.87, 48.48, 3.12°)
OKLaboklab(46.65% 0.1482 0.0073)
OKLCHoklch(46.65% 0.148 2.8)
XYZxyz(15.3010, 8.9425, 8.9013)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982A52 #2A9870
analogous
#982A89 #982A52 #98392A
triadic
#982A52 #52982A #2A5298
tetradic
#982A52 #89982A #2A9870 #392A98
square
#982A52 #89982A #2A9870 #392A98
split-complementary
#982A52 #2A9839 #2A8998
monochromatic
#38101E #681D38 #982A52 #C8376C #D5678F

Accessibility & contrast

On white

7.53
#982A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#982A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982A52
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982A52#FFFFFF#000000##FFFFFF
##982A521.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424753
Deuteranopia (green-blind)
#605C4F
Tritanopia (blue-blind)
#A5183B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #982a52;
/* rgb */ color: rgb(152, 42, 82);
/* oklch */ color: oklch(46.6% 0.148 2.8);
Tailwind
colors: {
  custom: {
    50: '#bb6d82',
    500: '#982a52',
    950: '#000000',
  },
}
SCSS
$custom: #982a52;
$custom-light: #bb6d82;
$custom-dark: #000000;
JSON
{
  "hex": "#982a52",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 338.182,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46649,
    "c": 0.14835,
    "h": 2.8
  },
  "luminance": 0.08941
}

Semantic roles & 50–950 ramp

primary
#982A52
secondary
#62BB9B
accent
#E0A948
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #982A52

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

Preview Lab → · Contrast checker → · Palette generator →

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