#981C7C#981C7C

#981C7C is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.185 H 339.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#981C7C
RGBrgb(152, 28, 124)
HSLhsl(314, 69%, 35%)
HSVhsv(314, 82%, 60%)
CMYKcmyk(0%, 81.6%, 18.4%, 40.4%)
CIE-LABlab(35.91, 57.97, -23.99)
CIE-LCHlch(35.91, 62.74, 337.51°)
OKLaboklab(47.21% 0.1729 -0.065)
OKLCHoklch(47.21% 0.185 339.4)
XYZxyz(17.0027, 8.9629, 19.8994)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C7C #1C9838
analogous
#761C98 #981C7C #981C3E
triadic
#981C7C #7C981C #1C7C98
tetradic
#981C7C #98761C #1C9838 #1C3E98
square
#981C7C #98761C #1C9838 #1C3E98
split-complementary
#981C7C #3E981C #1C9876
monochromatic
#310928 #641252 #981C7C #CC26A6 #DF50BE

Accessibility & contrast

On white

7.52
#981C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#981C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981C7C
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C7C#FFFFFF#000000##FFFFFF
##981C7C1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25487E
Deuteranopia (green-blind)
#505B79
Tritanopia (blue-blind)
#A1224B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #981c7c;
/* rgb */ color: rgb(152, 28, 124);
/* oklch */ color: oklch(47.2% 0.185 339.4);
Tailwind
colors: {
  custom: {
    50: '#ba68a2',
    500: '#981c7c',
    950: '#000000',
  },
}
SCSS
$custom: #981c7c;
$custom-light: #ba68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#981c7c",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 313.548,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47212,
    "c": 0.18466,
    "h": 339.4
  },
  "luminance": 0.08961
}

Semantic roles & 50–950 ramp

primary
#981C7C
secondary
#4EC168
accent
#EC643C
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #981C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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