#981F4D#981F4D

#981F4D is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.159 H 3.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#981F4D
RGBrgb(152, 31, 77)
HSLhsl(337, 66%, 36%)
HSVhsv(337, 80%, 60%)
CMYKcmyk(0%, 79.6%, 49.3%, 40.4%)
CIE-LABlab(34.38, 51.71, 3.72)
CIE-LCHlch(34.38, 51.84, 4.12°)
OKLaboklab(45.5% 0.1584 0.01)
OKLCHoklch(45.5% 0.159 3.6)
XYZxyz(14.7797, 8.1932, 7.8229)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F4D #1F986A
analogous
#981F89 #981F4D #982D1F
triadic
#981F4D #4D981F #1F4D98
tetradic
#981F4D #89981F #1F986A #2D1F98
square
#981F4D #89981F #1F986A #2D1F98
split-complementary
#981F4D #1F982D #1F8998
monochromatic
#320A19 #651533 #981F4D #CB2967 #DC5588

Accessibility & contrast

On white

7.96
#981F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981F4D
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F4D#FFFFFF#000000##FFFFFF
##981F4D1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D424E
Deuteranopia (green-blind)
#5D594A
Tritanopia (blue-blind)
#A60033
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #981f4d;
/* rgb */ color: rgb(152, 31, 77);
/* oklch */ color: oklch(45.5% 0.159 3.6);
Tailwind
colors: {
  custom: {
    50: '#bc687e',
    500: '#981f4d',
    950: '#000000',
  },
}
SCSS
$custom: #981f4d;
$custom-light: #bc687e;
$custom-dark: #000000;
JSON
{
  "hex": "#981f4d",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 77
  },
  "hsl": {
    "h": 337.19,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45503,
    "c": 0.15876,
    "h": 3.6
  },
  "luminance": 0.08191
}

Semantic roles & 50–950 ramp

primary
#981F4D
secondary
#53C096
accent
#E9A83F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #981F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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