#982A6F#982A6F

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

Color values

HEX#982A6F
RGBrgb(152, 42, 111)
HSLhsl(322, 57%, 38%)
HSVhsv(322, 72%, 60%)
CMYKcmyk(0%, 72.4%, 27%, 40.4%)
CIE-LABlab(36.89, 51.76, -14.32)
CIE-LCHlch(36.89, 53.70, 344.54°)
OKLaboklab(47.73% 0.157 -0.0379)
OKLCHoklch(47.73% 0.161 346.4)
XYZxyz(16.6468, 9.4808, 15.9891)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982A6F #2A9853
analogous
#8A2A98 #982A6F #982A38
triadic
#982A6F #6F982A #2A6F98
tetradic
#982A6F #988A2A #2A9853 #2A3898
square
#982A6F #988A2A #2A9853 #2A3898
split-complementary
#982A6F #38982A #2A988A
monochromatic
#381029 #681D4C #982A6F #C83792 #D567AC

Accessibility & contrast

On white

7.25
#982A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#982A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982A6F
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982A6F#FFFFFF#000000##FFFFFF
##982A6F1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384B71
Deuteranopia (green-blind)
#595E6C
Tritanopia (blue-blind)
#A32749
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982a6f;
/* rgb */ color: rgb(152, 42, 111);
/* oklch */ color: oklch(47.7% 0.161 346.4);
Tailwind
colors: {
  custom: {
    50: '#ba6d98',
    500: '#982a6f',
    950: '#000000',
  },
}
SCSS
$custom: #982a6f;
$custom-light: #ba6d98;
$custom-dark: #000000;
JSON
{
  "hex": "#982a6f",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 322.364,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47733,
    "c": 0.16148,
    "h": 346.4
  },
  "luminance": 0.09479
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #982A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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