#981A4D#981A4D

#981A4D is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.163 H 2.9°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#981A4D
RGBrgb(152, 26, 77)
HSLhsl(336, 71%, 35%)
HSVhsv(336, 83%, 60%)
CMYKcmyk(0%, 82.9%, 49.3%, 40.4%)
CIE-LABlab(33.88, 53.13, 3.00)
CIE-LCHlch(33.88, 53.21, 3.24°)
OKLaboklab(45.14% 0.163 0.0082)
OKLCHoklch(45.14% 0.163 2.9)
XYZxyz(14.6591, 7.9521, 7.7827)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981A4D #1A9865
analogous
#981A8C #981A4D #98261A
triadic
#981A4D #4D981A #1A4D98
tetradic
#981A4D #8C981A #1A9865 #261A98
square
#981A4D #8C981A #1A9865 #261A98
split-complementary
#981A4D #1A9826 #1A8C98
monochromatic
#2F0818 #641133 #981A4D #CC2367 #E04C88

Accessibility & contrast

On white

8.11
#981A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#981A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981A4D
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981A4D#FFFFFF#000000##FFFFFF
##981A4D1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B404E
Deuteranopia (green-blind)
#5C584A
Tritanopia (blue-blind)
#A60031
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981a4d;
/* rgb */ color: rgb(152, 26, 77);
/* oklch */ color: oklch(45.1% 0.163 2.9);
Tailwind
colors: {
  custom: {
    50: '#bc667e',
    500: '#981a4d',
    950: '#000000',
  },
}
SCSS
$custom: #981a4d;
$custom-light: #bc667e;
$custom-dark: #000000;
JSON
{
  "hex": "#981a4d",
  "rgb": {
    "r": 152,
    "g": 26,
    "b": 77
  },
  "hsl": {
    "h": 335.714,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45136,
    "c": 0.16323,
    "h": 2.9
  },
  "luminance": 0.0795
}

Semantic roles & 50–950 ramp

primary
#981A4D
secondary
#4BC292
accent
#EEA53A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #981A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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