#981E7A#981E7A

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

Color values

HEX#981E7A
RGBrgb(152, 30, 122)
HSLhsl(315, 67%, 36%)
HSVhsv(315, 80%, 60%)
CMYKcmyk(0%, 80.3%, 19.7%, 40.4%)
CIE-LABlab(36.01, 57.15, -22.60)
CIE-LCHlch(36.01, 61.45, 338.42°)
OKLaboklab(47.25% 0.171 -0.061)
OKLCHoklch(47.25% 0.182 340.4)
XYZxyz(16.9265, 9.0108, 19.2564)
Luminance0.0901 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E7A #1E983C
analogous
#791E98 #981E7A #981E3D
triadic
#981E7A #7A981E #1E7A98
tetradic
#981E7A #98791E #1E983C #1E3D98
square
#981E7A #98791E #1E983C #1E3D98
split-complementary
#981E7A #3D981E #1E9879
monochromatic
#320A28 #651451 #981E7A #CB28A3 #DD53BB

Accessibility & contrast

On white

7.50
#981E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#981E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981E7A
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981E7A#FFFFFF#000000##FFFFFF
##981E7A1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487C
Deuteranopia (green-blind)
#515C77
Tritanopia (blue-blind)
#A1224B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #981e7a;
/* rgb */ color: rgb(152, 30, 122);
/* oklch */ color: oklch(47.2% 0.182 340.4);
Tailwind
colors: {
  custom: {
    50: '#ba69a0',
    500: '#981e7a',
    950: '#000000',
  },
}
SCSS
$custom: #981e7a;
$custom-light: #ba69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#981e7a",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 314.754,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47247,
    "c": 0.18152,
    "h": 340.4
  },
  "luminance": 0.09009
}

Semantic roles & 50–950 ramp

primary
#981E7A
secondary
#51C06D
accent
#EA683E
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #981E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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