#981982#981982

#981982 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.3% C 0.191 H 336.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#981982
RGBrgb(152, 25, 130)
HSLhsl(310, 72%, 35%)
HSVhsv(310, 84%, 60%)
CMYKcmyk(0%, 83.6%, 14.5%, 40.4%)
CIE-LABlab(35.95, 59.56, -27.67)
CIE-LCHlch(35.95, 65.68, 335.08°)
OKLaboklab(47.34% 0.1757 -0.0755)
OKLCHoklch(47.34% 0.191 336.7)
XYZxyz(17.3261, 8.9841, 21.9364)
Luminance0.0898 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981982 #19982F
analogous
#6F1998 #981982 #981942
triadic
#981982 #829819 #198298
tetradic
#981982 #986F19 #19982F #194298
square
#981982 #986F19 #19982F #194298
split-complementary
#981982 #429819 #19986F
monochromatic
#2F0828 #631055 #981982 #CD22AF #E14AC7

Accessibility & contrast

On white

7.51
#981982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#981982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981982
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981982#FFFFFF#000000##FFFFFF
##9819821.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4985
Deuteranopia (green-blind)
#4C5B7F
Tritanopia (blue-blind)
#A0244E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #981982;
/* rgb */ color: rgb(152, 25, 130);
/* oklch */ color: oklch(47.3% 0.191 336.7);
Tailwind
colors: {
  custom: {
    50: '#ba68a6',
    500: '#981982',
    950: '#000000',
  },
}
SCSS
$custom: #981982;
$custom-light: #ba68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#981982",
  "rgb": {
    "r": 152,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 310.394,
    "s": 71.751,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47339,
    "c": 0.19118,
    "h": 336.7
  },
  "luminance": 0.08982
}

Semantic roles & 50–950 ramp

primary
#981982
secondary
#4AC35F
accent
#EE5939
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #981982

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

Preview Lab → · Contrast checker → · Palette generator →

#981982 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva