#981F52#981F52

#981F52 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.160 H 0.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#981F52
RGBrgb(152, 31, 82)
HSLhsl(335, 66%, 36%)
HSVhsv(335, 80%, 60%)
CMYKcmyk(0%, 79.6%, 46.1%, 40.4%)
CIE-LABlab(34.53, 52.17, 0.69)
CIE-LCHlch(34.53, 52.17, 0.76°)
OKLaboklab(45.66% 0.1602 0.0024)
OKLCHoklch(45.66% 0.16 0.8)
XYZxyz(14.9631, 8.2666, 8.7887)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F52 #1F9865
analogous
#981F8E #981F52 #98291F
triadic
#981F52 #52981F #1F5298
tetradic
#981F52 #8E981F #1F9865 #291F98
square
#981F52 #8E981F #1F9865 #291F98
split-complementary
#981F52 #1F9829 #1F8E98
monochromatic
#320A1B #651537 #981F52 #CB296D #DC558E

Accessibility & contrast

On white

7.92
#981F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#981F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F52
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F52#FFFFFF#000000##FFFFFF
##981F521.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4253
Deuteranopia (green-blind)
#5C5A4F
Tritanopia (blue-blind)
#A50236
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #981f52;
/* rgb */ color: rgb(152, 31, 82);
/* oklch */ color: oklch(45.7% 0.160 0.8);
Tailwind
colors: {
  custom: {
    50: '#bc6882',
    500: '#981f52',
    950: '#000000',
  },
}
SCSS
$custom: #981f52;
$custom-light: #bc6882;
$custom-dark: #000000;
JSON
{
  "hex": "#981f52",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 334.711,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45662,
    "c": 0.16026,
    "h": 0.8
  },
  "luminance": 0.08265
}

Semantic roles & 50–950 ramp

primary
#981F52
secondary
#53C092
accent
#E9A13F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #981F52

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

Preview Lab → · Contrast checker → · Palette generator →

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