#981E52#981E52

#981E52 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.161 H 0.7°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#981E52
RGBrgb(152, 30, 82)
HSLhsl(334, 67%, 36%)
HSVhsv(334, 80%, 60%)
CMYKcmyk(0%, 80.3%, 46.1%, 40.4%)
CIE-LABlab(34.43, 52.47, 0.54)
CIE-LCHlch(34.43, 52.47, 0.59°)
OKLaboklab(45.59% 0.1612 0.002)
OKLCHoklch(45.59% 0.161 0.7)
XYZxyz(14.9374, 8.2152, 8.7801)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E52 #1E9864
analogous
#981E8F #981E52 #98271E
triadic
#981E52 #52981E #1E5298
tetradic
#981E52 #8F981E #1E9864 #271E98
square
#981E52 #8F981E #1E9864 #271E98
split-complementary
#981E52 #1E9827 #1E8F98
monochromatic
#320A1B #651436 #981E52 #CB286E #DD538E

Accessibility & contrast

On white

7.95
#981E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#981E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981E52
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981E52#FFFFFF#000000##FFFFFF
##981E521.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4253
Deuteranopia (green-blind)
#5C594F
Tritanopia (blue-blind)
#A50035
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #981e52;
/* rgb */ color: rgb(152, 30, 82);
/* oklch */ color: oklch(45.6% 0.161 0.7);
Tailwind
colors: {
  custom: {
    50: '#bc6882',
    500: '#981e52',
    950: '#000000',
  },
}
SCSS
$custom: #981e52;
$custom-light: #bc6882;
$custom-dark: #000000;
JSON
{
  "hex": "#981e52",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 334.426,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45585,
    "c": 0.16121,
    "h": 0.7
  },
  "luminance": 0.08213
}

Semantic roles & 50–950 ramp

primary
#981E52
secondary
#51C091
accent
#EAA13E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #981E52

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

Preview Lab → · Contrast checker → · Palette generator →

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