#981F80#981F80

#981F80 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.185 H 337.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#981F80
RGBrgb(152, 31, 128)
HSLhsl(312, 66%, 36%)
HSVhsv(312, 80%, 60%)
CMYKcmyk(0%, 79.6%, 15.8%, 40.4%)
CIE-LABlab(36.40, 57.71, -25.73)
CIE-LCHlch(36.40, 63.19, 335.97°)
OKLaboklab(47.62% 0.1708 -0.07)
OKLCHoklch(47.62% 0.185 337.7)
XYZxyz(17.3356, 9.2156, 21.2837)
Luminance0.0921 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F80 #1F9837
analogous
#731F98 #981F80 #981F43
triadic
#981F80 #80981F #1F8098
tetradic
#981F80 #98731F #1F9837 #1F4398
square
#981F80 #98731F #1F9837 #1F4398
split-complementary
#981F80 #43981F #1F9873
monochromatic
#320A2A #651555 #981F80 #CB29AB #DC55C2

Accessibility & contrast

On white

7.39
#981F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#981F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F80
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F80#FFFFFF#000000##FFFFFF
##981F801.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244A83
Deuteranopia (green-blind)
#4F5C7D
Tritanopia (blue-blind)
#A1274E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #981f80;
/* rgb */ color: rgb(152, 31, 128);
/* oklch */ color: oklch(47.6% 0.185 337.7);
Tailwind
colors: {
  custom: {
    50: '#ba6aa5',
    500: '#981f80',
    950: '#000000',
  },
}
SCSS
$custom: #981f80;
$custom-light: #ba6aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#981f80",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 311.901,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47624,
    "c": 0.18456,
    "h": 337.7
  },
  "luminance": 0.09214
}

Semantic roles & 50–950 ramp

primary
#981F80
secondary
#53C069
accent
#E9613F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #981F80

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

Preview Lab → · Contrast checker → · Palette generator →

#981F80 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva