#981A7A#981A7A

#981A7A is a mid, vivid pink. Relative luminance 0.088; OKLCH L 47.0% C 0.185 H 340.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#981A7A
RGBrgb(152, 26, 122)
HSLhsl(314, 71%, 35%)
HSVhsv(314, 83%, 60%)
CMYKcmyk(0%, 82.9%, 19.7%, 40.4%)
CIE-LABlab(35.64, 58.20, -23.17)
CIE-LCHlch(35.64, 62.65, 338.29°)
OKLaboklab(46.98% 0.1742 -0.0626)
OKLCHoklch(46.98% 0.185 340.2)
XYZxyz(16.8317, 8.8211, 19.2248)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981A7A #1A9838
analogous
#771A98 #981A7A #981A3B
triadic
#981A7A #7A981A #1A7A98
tetradic
#981A7A #98771A #1A9838 #1A3B98
square
#981A7A #98771A #1A9838 #1A3B98
split-complementary
#981A7A #3B981A #1A9877
monochromatic
#2F0826 #641150 #981A7A #CC23A4 #E04CBD

Accessibility & contrast

On white

7.60
#981A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#981A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981A7A
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981A7A#FFFFFF#000000##FFFFFF
##981A7A1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #981a7a;
/* rgb */ color: rgb(152, 26, 122);
/* oklch */ color: oklch(47.0% 0.185 340.2);
Tailwind
colors: {
  custom: {
    50: '#ba68a0',
    500: '#981a7a',
    950: '#000000',
  },
}
SCSS
$custom: #981a7a;
$custom-light: #ba68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#981a7a",
  "rgb": {
    "r": 152,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 314.286,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46982,
    "c": 0.1851,
    "h": 340.2
  },
  "luminance": 0.08819
}

Semantic roles & 50–950 ramp

primary
#981A7A
secondary
#4BC268
accent
#EE653A
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #981A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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