#982A7C#982A7C

#982A7C is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.170 H 339.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#982A7C
RGBrgb(152, 42, 124)
HSLhsl(315, 57%, 38%)
HSVhsv(315, 72%, 60%)
CMYKcmyk(0%, 72.4%, 18.4%, 40.4%)
CIE-LABlab(37.46, 53.56, -21.59)
CIE-LCHlch(37.46, 57.75, 338.05°)
OKLaboklab(48.33% 0.1595 -0.0583)
OKLCHoklch(48.33% 0.17 339.9)
XYZxyz(17.4154, 9.7882, 20.0370)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982A7C #2A9846
analogous
#7D2A98 #982A7C #982A45
triadic
#982A7C #7C982A #2A7C98
tetradic
#982A7C #987D2A #2A9846 #2A4598
square
#982A7C #987D2A #2A9846 #2A4598
split-complementary
#982A7C #45982A #2A987D
monochromatic
#38102E #681D55 #982A7C #C837A3 #D567B9

Accessibility & contrast

On white

7.10
#982A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#982A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982A7C
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982A7C#FFFFFF#000000##FFFFFF
##982A7C1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7E
Deuteranopia (green-blind)
#545E79
Tritanopia (blue-blind)
#A12D4F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #982a7c;
/* rgb */ color: rgb(152, 42, 124);
/* oklch */ color: oklch(48.3% 0.170 339.9);
Tailwind
colors: {
  custom: {
    50: '#ba6ea2',
    500: '#982a7c',
    950: '#000000',
  },
}
SCSS
$custom: #982a7c;
$custom-light: #ba6ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#982a7c",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 315.273,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4833,
    "c": 0.16981,
    "h": 339.9
  },
  "luminance": 0.09787
}

Semantic roles & 50–950 ramp

primary
#982A7C
secondary
#62BB79
accent
#E06F48
background
#FBF7FA
surface
#F7EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #982A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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