#981F42#981F42

#981F42 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.156 H 9.7°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#981F42
RGBrgb(152, 31, 66)
HSLhsl(343, 66%, 36%)
HSVhsv(343, 80%, 60%)
CMYKcmyk(0%, 79.6%, 56.6%, 40.4%)
CIE-LABlab(34.09, 50.80, 10.47)
CIE-LCHlch(34.09, 51.87, 11.65°)
OKLaboklab(45.19% 0.1542 0.0265)
OKLCHoklch(45.19% 0.156 9.7)
XYZxyz(14.4236, 8.0508, 5.9477)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F42 #1F9875
analogous
#981F7E #981F42 #98391F
triadic
#981F42 #42981F #1F4298
tetradic
#981F42 #7E981F #1F9875 #391F98
square
#981F42 #7E981F #1F9875 #391F98
split-complementary
#981F42 #1F9839 #1F7E98
monochromatic
#320A16 #65152C #981F42 #CB2958 #DC557C

Accessibility & contrast

On white

8.05
#981F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#981F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F42
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F42#FFFFFF#000000##FFFFFF
##981F421.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #981f42;
/* rgb */ color: rgb(152, 31, 66);
/* oklch */ color: oklch(45.2% 0.156 9.7);
Tailwind
colors: {
  custom: {
    50: '#bd6776',
    500: '#981f42',
    950: '#000000',
  },
}
SCSS
$custom: #981f42;
$custom-light: #bd6776;
$custom-dark: #000000;
JSON
{
  "hex": "#981f42",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 66
  },
  "hsl": {
    "h": 342.645,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45191,
    "c": 0.15645,
    "h": 9.7
  },
  "luminance": 0.08049
}

Semantic roles & 50–950 ramp

primary
#981F42
secondary
#53C0A0
accent
#E9B83F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #981F42

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

Preview Lab → · Contrast checker → · Palette generator →

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