#981D7D#981D7D

#981D7D is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.3% C 0.184 H 339.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#981D7D
RGBrgb(152, 29, 125)
HSLhsl(313, 68%, 35%)
HSVhsv(313, 81%, 60%)
CMYKcmyk(0%, 80.9%, 17.8%, 40.4%)
CIE-LABlab(36.05, 57.84, -24.40)
CIE-LCHlch(36.05, 62.77, 337.13°)
OKLaboklab(47.33% 0.1722 -0.0661)
OKLCHoklch(47.33% 0.184 339)
XYZxyz(17.0904, 9.0365, 20.2422)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D7D #1D9838
analogous
#751D98 #981D7D #981D3F
triadic
#981D7D #7D981D #1D7D98
tetradic
#981D7D #98751D #1D9838 #1D3F98
square
#981D7D #98751D #1D9838 #1D3F98
split-complementary
#981D7D #3F981D #1D9875
monochromatic
#310928 #651353 #981D7D #CB27A7 #DE52BF

Accessibility & contrast

On white

7.48
#981D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#981D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981D7D
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D7D#FFFFFF#000000##FFFFFF
##981D7D1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25497F
Deuteranopia (green-blind)
#4F5C7A
Tritanopia (blue-blind)
#A1234C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #981d7d;
/* rgb */ color: rgb(152, 29, 125);
/* oklch */ color: oklch(47.3% 0.184 339.0);
Tailwind
colors: {
  custom: {
    50: '#ba69a3',
    500: '#981d7d',
    950: '#000000',
  },
}
SCSS
$custom: #981d7d;
$custom-light: #ba69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#981d7d",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 313.171,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4733,
    "c": 0.18442,
    "h": 339
  },
  "luminance": 0.09035
}

Semantic roles & 50–950 ramp

primary
#981D7D
secondary
#50C169
accent
#EB633D
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #981D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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