#982A6E#982A6E

#982A6E is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.7% C 0.161 H 347.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#982A6E
RGBrgb(152, 42, 110)
HSLhsl(323, 57%, 38%)
HSVhsv(323, 72%, 60%)
CMYKcmyk(0%, 72.4%, 27.6%, 40.4%)
CIE-LABlab(36.85, 51.63, -13.75)
CIE-LCHlch(36.85, 53.43, 345.08°)
OKLaboklab(47.69% 0.1567 -0.0363)
OKLCHoklch(47.69% 0.161 347)
XYZxyz(16.5921, 9.4589, 15.7008)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982A6E #2A9854
analogous
#8B2A98 #982A6E #982A37
triadic
#982A6E #6E982A #2A6E98
tetradic
#982A6E #988B2A #2A9854 #2A3798
square
#982A6E #988B2A #2A9854 #2A3798
split-complementary
#982A6E #37982A #2A988B
monochromatic
#381029 #681D4B #982A6E #C83791 #D567AB

Accessibility & contrast

On white

7.26
#982A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982A6E
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982A6E#FFFFFF#000000##FFFFFF
##982A6E1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394B70
Deuteranopia (green-blind)
#595E6B
Tritanopia (blue-blind)
#A32748
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982a6e;
/* rgb */ color: rgb(152, 42, 110);
/* oklch */ color: oklch(47.7% 0.161 347.0);
Tailwind
colors: {
  custom: {
    50: '#ba6d97',
    500: '#982a6e',
    950: '#000000',
  },
}
SCSS
$custom: #982a6e;
$custom-light: #ba6d97;
$custom-dark: #000000;
JSON
{
  "hex": "#982a6e",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 322.909,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4769,
    "c": 0.16088,
    "h": 347
  },
  "luminance": 0.09457
}

Semantic roles & 50–950 ramp

primary
#982A6E
secondary
#62BB84
accent
#E08248
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080D
muted
#817B7E

Preview Lab

Preview with #982A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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