#981E42#981E42

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

Color values

HEX#981E42
RGBrgb(152, 30, 66)
HSLhsl(342, 67%, 36%)
HSVhsv(342, 80%, 60%)
CMYKcmyk(0%, 80.3%, 56.6%, 40.4%)
CIE-LABlab(33.98, 51.10, 10.33)
CIE-LCHlch(33.98, 52.13, 11.42°)
OKLaboklab(45.11% 0.1552 0.0261)
OKLCHoklch(45.11% 0.157 9.5)
XYZxyz(14.3979, 7.9994, 5.9391)
Luminance0.0800 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E42 #1E9874
analogous
#981E7F #981E42 #98371E
triadic
#981E42 #42981E #1E4298
tetradic
#981E42 #7F981E #1E9874 #371E98
square
#981E42 #7F981E #1E9874 #371E98
split-complementary
#981E42 #1E9837 #1E7F98
monochromatic
#320A16 #65142C #981E42 #CB2858 #DD537C

Accessibility & contrast

On white

8.08
#981E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#981E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981E42
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981E42#FFFFFF#000000##FFFFFF
##981E421.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4043
Deuteranopia (green-blind)
#5F593F
Tritanopia (blue-blind)
#A6002E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981e42;
/* rgb */ color: rgb(152, 30, 66);
/* oklch */ color: oklch(45.1% 0.157 9.5);
Tailwind
colors: {
  custom: {
    50: '#bd6776',
    500: '#981e42',
    950: '#000000',
  },
}
SCSS
$custom: #981e42;
$custom-light: #bd6776;
$custom-dark: #000000;
JSON
{
  "hex": "#981e42",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 66
  },
  "hsl": {
    "h": 342.295,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45112,
    "c": 0.15736,
    "h": 9.5
  },
  "luminance": 0.07997
}

Semantic roles & 50–950 ramp

primary
#981E42
secondary
#51C0A0
accent
#EAB73E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #981E42

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

Preview Lab → · Contrast checker → · Palette generator →

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