#981E47#981E47

#981E47 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.2% C 0.158 H 6.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#981E47
RGBrgb(152, 30, 71)
HSLhsl(340, 67%, 36%)
HSVhsv(340, 80%, 60%)
CMYKcmyk(0%, 80.3%, 53.3%, 40.4%)
CIE-LABlab(34.11, 51.49, 7.24)
CIE-LCHlch(34.11, 52.00, 8.01°)
OKLaboklab(45.25% 0.1571 0.0187)
OKLCHoklch(45.25% 0.158 6.8)
XYZxyz(14.5518, 8.0609, 6.7497)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E47 #1E986F
analogous
#981E84 #981E47 #98321E
triadic
#981E47 #47981E #1E4798
tetradic
#981E47 #84981E #1E986F #321E98
square
#981E47 #84981E #1E986F #321E98
split-complementary
#981E47 #1E9832 #1E8498
monochromatic
#320A17 #65142F #981E47 #CB285F #DD5382

Accessibility & contrast

On white

8.04
#981E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981E47
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981E47#FFFFFF#000000##FFFFFF
##981E471.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4148
Deuteranopia (green-blind)
#5E5944
Tritanopia (blue-blind)
#A60030
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981e47;
/* rgb */ color: rgb(152, 30, 71);
/* oklch */ color: oklch(45.2% 0.158 6.8);
Tailwind
colors: {
  custom: {
    50: '#bc6779',
    500: '#981e47',
    950: '#000000',
  },
}
SCSS
$custom: #981e47;
$custom-light: #bc6779;
$custom-dark: #000000;
JSON
{
  "hex": "#981e47",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 71
  },
  "hsl": {
    "h": 339.836,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45248,
    "c": 0.15825,
    "h": 6.8
  },
  "luminance": 0.08059
}

Semantic roles & 50–950 ramp

primary
#981E47
secondary
#51C09B
accent
#EAB03E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #981E47

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

Preview Lab → · Contrast checker → · Palette generator →

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