#981F64#981F64

#981F64 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.168 H 351.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#981F64
RGBrgb(152, 31, 100)
HSLhsl(326, 66%, 36%)
HSVhsv(326, 80%, 60%)
CMYKcmyk(0%, 79.6%, 34.2%, 40.4%)
CIE-LABlab(35.16, 54.07, -9.98)
CIE-LCHlch(35.16, 54.98, 349.54°)
OKLaboklab(46.32% 0.1658 -0.0259)
OKLCHoklch(46.32% 0.168 351.1)
XYZxyz(15.7401, 8.5774, 12.8808)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F64 #1F9853
analogous
#8F1F98 #981F64 #981F28
triadic
#981F64 #64981F #1F6498
tetradic
#981F64 #988F1F #1F9853 #1F2898
square
#981F64 #988F1F #1F9853 #1F2898
split-complementary
#981F64 #28981F #1F988F
monochromatic
#320A21 #651543 #981F64 #CB2985 #DC55A2

Accessibility & contrast

On white

7.73
#981F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#981F64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F64
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F64#FFFFFF#000000##FFFFFF
##981F641.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354566
Deuteranopia (green-blind)
#585A61
Tritanopia (blue-blind)
#A4143F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #981f64;
/* rgb */ color: rgb(152, 31, 100);
/* oklch */ color: oklch(46.3% 0.168 351.1);
Tailwind
colors: {
  custom: {
    50: '#bb6990',
    500: '#981f64',
    950: '#000000',
  },
}
SCSS
$custom: #981f64;
$custom-light: #bb6990;
$custom-dark: #000000;
JSON
{
  "hex": "#981f64",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 100
  },
  "hsl": {
    "h": 325.785,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46323,
    "c": 0.16777,
    "h": 351.1
  },
  "luminance": 0.08575
}

Semantic roles & 50–950 ramp

primary
#981F64
secondary
#53C082
accent
#E9883F
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #981F64

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

Preview Lab → · Contrast checker → · Palette generator →

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