#982C6E#982C6E

#982C6E is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.9% C 0.158 H 347.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#982C6E
RGBrgb(152, 44, 110)
HSLhsl(323, 55%, 38%)
HSVhsv(323, 71%, 60%)
CMYKcmyk(0%, 71.1%, 27.6%, 40.4%)
CIE-LABlab(37.12, 50.87, -13.34)
CIE-LCHlch(37.12, 52.59, 345.31°)
OKLaboklab(47.89% 0.1544 -0.0352)
OKLCHoklch(47.89% 0.158 347.2)
XYZxyz(16.6648, 9.6043, 15.7250)
Luminance0.0960 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982C6E #2C9856
analogous
#8C2C98 #982C6E #982C38
triadic
#982C6E #6E982C #2C6E98
tetradic
#982C6E #988C2C #2C9856 #2C3898
square
#982C6E #988C2C #2C9856 #2C3898
split-complementary
#982C6E #38982C #2C988C
monochromatic
#391129 #691E4C #982C6E #C63B90 #D46AAB

Accessibility & contrast

On white

7.19
#982C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#982C6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982C6E
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982C6E#FFFFFF#000000##FFFFFF
##982C6E1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4B70
Deuteranopia (green-blind)
#5A5E6B
Tritanopia (blue-blind)
#A32949
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982c6e;
/* rgb */ color: rgb(152, 44, 110);
/* oklch */ color: oklch(47.9% 0.158 347.2);
Tailwind
colors: {
  custom: {
    50: '#ba6e97',
    500: '#982c6e',
    950: '#000000',
  },
}
SCSS
$custom: #982c6e;
$custom-light: #ba6e97;
$custom-dark: #000000;
JSON
{
  "hex": "#982c6e",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 110
  },
  "hsl": {
    "h": 323.333,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47887,
    "c": 0.15836,
    "h": 347.2
  },
  "luminance": 0.09603
}

Semantic roles & 50–950 ramp

primary
#982C6E
secondary
#65BB86
accent
#DE8349
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080D
muted
#817B7E

Preview Lab

Preview with #982C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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