#981E7E#981E7E

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

Color values

HEX#981E7E
RGBrgb(152, 30, 126)
HSLhsl(313, 67%, 36%)
HSVhsv(313, 80%, 60%)
CMYKcmyk(0%, 80.3%, 17.1%, 40.4%)
CIE-LABlab(36.20, 57.71, -24.80)
CIE-LCHlch(36.20, 62.81, 336.75°)
OKLaboklab(47.45% 0.1714 -0.0673)
OKLCHoklch(47.45% 0.184 338.6)
XYZxyz(17.1795, 9.1120, 20.5887)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E7E #1E9838
analogous
#751E98 #981E7E #981E41
triadic
#981E7E #7E981E #1E7E98
tetradic
#981E7E #98751E #1E9838 #1E4198
square
#981E7E #98751E #1E9838 #1E4198
split-complementary
#981E7E #41981E #1E9875
monochromatic
#320A29 #651454 #981E7E #CB28A8 #DD53C0

Accessibility & contrast

On white

7.44
#981E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981E7E
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981E7E#FFFFFF#000000##FFFFFF
##981E7E1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254980
Deuteranopia (green-blind)
#4F5C7B
Tritanopia (blue-blind)
#A1254D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #981e7e;
/* rgb */ color: rgb(152, 30, 126);
/* oklch */ color: oklch(47.4% 0.184 338.6);
Tailwind
colors: {
  custom: {
    50: '#ba69a3',
    500: '#981e7e',
    950: '#000000',
  },
}
SCSS
$custom: #981e7e;
$custom-light: #ba69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#981e7e",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 312.787,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4745,
    "c": 0.18415,
    "h": 338.6
  },
  "luminance": 0.0911
}

Semantic roles & 50–950 ramp

primary
#981E7E
secondary
#51C069
accent
#EA633E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #981E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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