#981E7D#981E7D

#981E7D is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.4% C 0.183 H 339.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#981E7D
RGBrgb(152, 30, 125)
HSLhsl(313, 67%, 36%)
HSVhsv(313, 80%, 60%)
CMYKcmyk(0%, 80.3%, 17.8%, 40.4%)
CIE-LABlab(36.15, 57.56, -24.25)
CIE-LCHlch(36.15, 62.46, 337.16°)
OKLaboklab(47.4% 0.1713 -0.0657)
OKLCHoklch(47.4% 0.183 339)
XYZxyz(17.1153, 9.0863, 20.2505)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E7D #1E9839
analogous
#761E98 #981E7D #981E40
triadic
#981E7D #7D981E #1E7D98
tetradic
#981E7D #98761E #1E9839 #1E4098
square
#981E7D #98761E #1E9839 #1E4098
split-complementary
#981E7D #40981E #1E9876
monochromatic
#320A29 #651453 #981E7D #CB28A7 #DD53BF

Accessibility & contrast

On white

7.45
#981E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#981E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981E7D
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981E7D#FFFFFF#000000##FFFFFF
##981E7D1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26497F
Deuteranopia (green-blind)
#505C7A
Tritanopia (blue-blind)
#A1244C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #981e7d;
/* rgb */ color: rgb(152, 30, 125);
/* oklch */ color: oklch(47.4% 0.183 339.0);
Tailwind
colors: {
  custom: {
    50: '#ba69a3',
    500: '#981e7d',
    950: '#000000',
  },
}
SCSS
$custom: #981e7d;
$custom-light: #ba69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#981e7d",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 313.279,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47398,
    "c": 0.18348,
    "h": 339
  },
  "luminance": 0.09085
}

Semantic roles & 50–950 ramp

primary
#981E7D
secondary
#51C06A
accent
#EA643E
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #981E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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