#981F4A#981F4A

#981F4A is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.158 H 5.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#981F4A
RGBrgb(152, 31, 74)
HSLhsl(339, 66%, 36%)
HSVhsv(339, 80%, 60%)
CMYKcmyk(0%, 79.6%, 51.3%, 40.4%)
CIE-LABlab(34.30, 51.45, 5.55)
CIE-LCHlch(34.30, 51.74, 6.16°)
OKLaboklab(45.41% 0.1573 0.0146)
OKLCHoklch(45.41% 0.158 5.3)
XYZxyz(14.6762, 8.1518, 7.2779)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F4A #1F986D
analogous
#981F86 #981F4A #98311F
triadic
#981F4A #4A981F #1F4A98
tetradic
#981F4A #86981F #1F986D #311F98
square
#981F4A #86981F #1F986D #311F98
split-complementary
#981F4A #1F9831 #1F8698
monochromatic
#320A19 #651531 #981F4A #CB2963 #DC5585

Accessibility & contrast

On white

7.98
#981F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#981F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F4A
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F4A#FFFFFF#000000##FFFFFF
##981F4A1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E414B
Deuteranopia (green-blind)
#5E5947
Tritanopia (blue-blind)
#A60032
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #981f4a;
/* rgb */ color: rgb(152, 31, 74);
/* oklch */ color: oklch(45.4% 0.158 5.3);
Tailwind
colors: {
  custom: {
    50: '#bc687c',
    500: '#981f4a',
    950: '#000000',
  },
}
SCSS
$custom: #981f4a;
$custom-light: #bc687c;
$custom-dark: #000000;
JSON
{
  "hex": "#981f4a",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 74
  },
  "hsl": {
    "h": 338.678,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45412,
    "c": 0.158,
    "h": 5.3
  },
  "luminance": 0.0815
}

Semantic roles & 50–950 ramp

primary
#981F4A
secondary
#53C099
accent
#E9AD3F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #981F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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