#981D42#981D42

#981D42 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.158 H 9.4°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#981D42
RGBrgb(152, 29, 66)
HSLhsl(342, 68%, 35%)
HSVhsv(342, 81%, 60%)
CMYKcmyk(0%, 80.9%, 56.6%, 40.4%)
CIE-LABlab(33.88, 51.39, 10.18)
CIE-LCHlch(33.88, 52.39, 11.21°)
OKLaboklab(45.04% 0.1561 0.0258)
OKLCHoklch(45.04% 0.158 9.4)
XYZxyz(14.3730, 7.9496, 5.9308)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D42 #1D9873
analogous
#981D7F #981D42 #98351D
triadic
#981D42 #42981D #1D4298
tetradic
#981D42 #7F981D #1D9873 #351D98
square
#981D42 #7F981D #1D9873 #351D98
split-complementary
#981D42 #1D9835 #1D7F98
monochromatic
#310915 #65132C #981D42 #CB2758 #DE527C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##981D42#FFFFFF#000000##FFFFFF
##981D421.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)
#3F4043
Deuteranopia (green-blind)
#5F593F
Tritanopia (blue-blind)
#A6002D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981d42;
/* rgb */ color: rgb(152, 29, 66);
/* oklch */ color: oklch(45.0% 0.158 9.4);
Tailwind
colors: {
  custom: {
    50: '#bd6776',
    500: '#981d42',
    950: '#000000',
  },
}
SCSS
$custom: #981d42;
$custom-light: #bd6776;
$custom-dark: #000000;
JSON
{
  "hex": "#981d42",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 66
  },
  "hsl": {
    "h": 341.951,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45035,
    "c": 0.15824,
    "h": 9.4
  },
  "luminance": 0.07947
}

Semantic roles & 50–950 ramp

primary
#981D42
secondary
#50C19F
accent
#EBB73D
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #981D42

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

Preview Lab → · Contrast checker → · Palette generator →

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