#981F81#981F81

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

Color values

HEX#981F81
RGBrgb(152, 31, 129)
HSLhsl(311, 66%, 36%)
HSVhsv(311, 80%, 60%)
CMYKcmyk(0%, 79.6%, 15.1%, 40.4%)
CIE-LABlab(36.45, 57.85, -26.28)
CIE-LCHlch(36.45, 63.54, 335.57°)
OKLaboklab(47.68% 0.1709 -0.0715)
OKLCHoklch(47.68% 0.185 337.3)
XYZxyz(17.4017, 9.2420, 21.6320)
Luminance0.0924 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F81 #1F9836
analogous
#721F98 #981F81 #981F44
triadic
#981F81 #81981F #1F8198
tetradic
#981F81 #98721F #1F9836 #1F4498
square
#981F81 #98721F #1F9836 #1F4498
split-complementary
#981F81 #44981F #1F9872
monochromatic
#320A2B #651556 #981F81 #CB29AC #DC55C3

Accessibility & contrast

On white

7.37
#981F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#981F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F81
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F81#FFFFFF#000000##FFFFFF
##981F811.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244A84
Deuteranopia (green-blind)
#4E5C7E
Tritanopia (blue-blind)
#A0274F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #981f81;
/* rgb */ color: rgb(152, 31, 129);
/* oklch */ color: oklch(47.7% 0.185 337.3);
Tailwind
colors: {
  custom: {
    50: '#ba6aa6',
    500: '#981f81',
    950: '#000000',
  },
}
SCSS
$custom: #981f81;
$custom-light: #ba6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#981f81",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 129
  },
  "hsl": {
    "h": 311.405,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47676,
    "c": 0.18523,
    "h": 337.3
  },
  "luminance": 0.0924
}

Semantic roles & 50–950 ramp

primary
#981F81
secondary
#53C068
accent
#E95F3F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #981F81

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

Preview Lab → · Contrast checker → · Palette generator →

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