#982A6D#982A6D

#982A6D is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.160 H 347.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#982A6D
RGBrgb(152, 42, 109)
HSLhsl(323, 57%, 38%)
HSVhsv(323, 72%, 60%)
CMYKcmyk(0%, 72.4%, 28.3%, 40.4%)
CIE-LABlab(36.81, 51.49, -13.18)
CIE-LCHlch(36.81, 53.16, 345.64°)
OKLaboklab(47.65% 0.1565 -0.0348)
OKLCHoklch(47.65% 0.16 347.5)
XYZxyz(16.5379, 9.4373, 15.4157)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982A6D #2A9855
analogous
#8C2A98 #982A6D #982A36
triadic
#982A6D #6D982A #2A6D98
tetradic
#982A6D #988C2A #2A9855 #2A3698
square
#982A6D #988C2A #2A9855 #2A3698
split-complementary
#982A6D #36982A #2A988C
monochromatic
#381028 #681D4B #982A6D #C8378F #D567AA

Accessibility & contrast

On white

7.27
#982A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#982A6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982A6D
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982A6D#FFFFFF#000000##FFFFFF
##982A6D1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394A6F
Deuteranopia (green-blind)
#595E6A
Tritanopia (blue-blind)
#A32648
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982a6d;
/* rgb */ color: rgb(152, 42, 109);
/* oklch */ color: oklch(47.6% 0.160 347.5);
Tailwind
colors: {
  custom: {
    50: '#ba6d97',
    500: '#982a6d',
    950: '#000000',
  },
}
SCSS
$custom: #982a6d;
$custom-light: #ba6d97;
$custom-dark: #000000;
JSON
{
  "hex": "#982a6d",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 109
  },
  "hsl": {
    "h": 323.455,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47647,
    "c": 0.16031,
    "h": 347.5
  },
  "luminance": 0.09435
}

Semantic roles & 50–950 ramp

primary
#982A6D
secondary
#62BB85
accent
#E08348
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080D
muted
#817B7E

Preview Lab

Preview with #982A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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