#981C7A#981C7A

#981C7A is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.183 H 340.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#981C7A
RGBrgb(152, 28, 122)
HSLhsl(315, 69%, 35%)
HSVhsv(315, 82%, 60%)
CMYKcmyk(0%, 81.6%, 19.7%, 40.4%)
CIE-LABlab(35.82, 57.69, -22.89)
CIE-LCHlch(35.82, 62.07, 338.36°)
OKLaboklab(47.11% 0.1726 -0.0619)
OKLCHoklch(47.11% 0.183 340.3)
XYZxyz(16.8775, 8.9128, 19.2401)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C7A #1C983A
analogous
#781C98 #981C7A #981C3C
triadic
#981C7A #7A981C #1C7A98
tetradic
#981C7A #98781C #1C983A #1C3C98
square
#981C7A #98781C #1C983A #1C3C98
split-complementary
#981C7A #3C981C #1C9878
monochromatic
#310927 #641251 #981C7A #CC26A3 #DF50BC

Accessibility & contrast

On white

7.55
#981C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#981C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981C7A
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C7A#FFFFFF#000000##FFFFFF
##981C7A1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27487C
Deuteranopia (green-blind)
#505B77
Tritanopia (blue-blind)
#A1214A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #981c7a;
/* rgb */ color: rgb(152, 28, 122);
/* oklch */ color: oklch(47.1% 0.183 340.3);
Tailwind
colors: {
  custom: {
    50: '#ba68a0',
    500: '#981c7a',
    950: '#000000',
  },
}
SCSS
$custom: #981c7a;
$custom-light: #ba68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#981c7a",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 314.516,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47111,
    "c": 0.18336,
    "h": 340.3
  },
  "luminance": 0.08911
}

Semantic roles & 50–950 ramp

primary
#981C7A
secondary
#4EC16A
accent
#EC673C
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #981C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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