#981F4C#981F4C

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

Color values

HEX#981F4C
RGBrgb(152, 31, 76)
HSLhsl(338, 66%, 36%)
HSVhsv(338, 80%, 60%)
CMYKcmyk(0%, 79.6%, 50%, 40.4%)
CIE-LABlab(34.35, 51.62, 4.33)
CIE-LCHlch(34.35, 51.80, 4.80°)
OKLaboklab(45.47% 0.1581 0.0116)
OKLCHoklch(45.47% 0.158 4.2)
XYZxyz(14.7447, 8.1792, 7.6384)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F4C #1F986B
analogous
#981F88 #981F4C #982E1F
triadic
#981F4C #4C981F #1F4C98
tetradic
#981F4C #88981F #1F986B #2E1F98
square
#981F4C #88981F #1F986B #2E1F98
split-complementary
#981F4C #1F982E #1F8898
monochromatic
#320A19 #651533 #981F4C #CB2965 #DC5587

Accessibility & contrast

On white

7.97
#981F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981F4C
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F4C#FFFFFF#000000##FFFFFF
##981F4C1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #981f4c;
/* rgb */ color: rgb(152, 31, 76);
/* oklch */ color: oklch(45.5% 0.158 4.2);
Tailwind
colors: {
  custom: {
    50: '#bc687d',
    500: '#981f4c',
    950: '#000000',
  },
}
SCSS
$custom: #981f4c;
$custom-light: #bc687d;
$custom-dark: #000000;
JSON
{
  "hex": "#981f4c",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 76
  },
  "hsl": {
    "h": 337.686,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45472,
    "c": 0.15849,
    "h": 4.2
  },
  "luminance": 0.08177
}

Semantic roles & 50–950 ramp

primary
#981F4C
secondary
#53C097
accent
#E9AA3F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #981F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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