#981F53#981F53

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

Color values

HEX#981F53
RGBrgb(152, 31, 83)
HSLhsl(334, 66%, 36%)
HSVhsv(334, 80%, 60%)
CMYKcmyk(0%, 79.6%, 45.4%, 40.4%)
CIE-LABlab(34.56, 52.26, 0.09)
CIE-LCHlch(34.56, 52.27, 0.10°)
OKLaboklab(45.7% 0.1606 0.0008)
OKLCHoklch(45.7% 0.161 0.3)
XYZxyz(15.0014, 8.2819, 8.9906)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F53 #1F9864
analogous
#981F8F #981F53 #98281F
triadic
#981F53 #53981F #1F5398
tetradic
#981F53 #8F981F #1F9864 #281F98
square
#981F53 #8F981F #1F9864 #281F98
split-complementary
#981F53 #1F9828 #1F8F98
monochromatic
#320A1B #651537 #981F53 #CB296F #DC558F

Accessibility & contrast

On white

7.91
#981F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#981F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F53
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F53#FFFFFF#000000##FFFFFF
##981F531.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4354
Deuteranopia (green-blind)
#5C5A50
Tritanopia (blue-blind)
#A50336
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #981f53;
/* rgb */ color: rgb(152, 31, 83);
/* oklch */ color: oklch(45.7% 0.161 0.3);
Tailwind
colors: {
  custom: {
    50: '#bc6883',
    500: '#981f53',
    950: '#000000',
  },
}
SCSS
$custom: #981f53;
$custom-light: #bc6883;
$custom-dark: #000000;
JSON
{
  "hex": "#981f53",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 83
  },
  "hsl": {
    "h": 334.215,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45695,
    "c": 0.16058,
    "h": 0.3
  },
  "luminance": 0.0828
}

Semantic roles & 50–950 ramp

primary
#981F53
secondary
#53C091
accent
#E9A03F
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #981F53

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

Preview Lab → · Contrast checker → · Palette generator →

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