#981D47#981D47

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

Color values

HEX#981D47
RGBrgb(152, 29, 71)
HSLhsl(340, 68%, 35%)
HSVhsv(340, 81%, 60%)
CMYKcmyk(0%, 80.9%, 53.3%, 40.4%)
CIE-LABlab(34.01, 51.79, 7.10)
CIE-LCHlch(34.01, 52.27, 7.80°)
OKLaboklab(45.17% 0.1581 0.0184)
OKLCHoklch(45.17% 0.159 6.6)
XYZxyz(14.5269, 8.0111, 6.7414)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D47 #1D986E
analogous
#981D84 #981D47 #98301D
triadic
#981D47 #47981D #1D4798
tetradic
#981D47 #84981D #1D986E #301D98
square
#981D47 #84981D #1D986E #301D98
split-complementary
#981D47 #1D9830 #1D8498
monochromatic
#310917 #65132F #981D47 #CB275F #DE5281

Accessibility & contrast

On white

8.07
#981D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981D47
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D47#FFFFFF#000000##FFFFFF
##981D471.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #981d47;
/* rgb */ color: rgb(152, 29, 71);
/* oklch */ color: oklch(45.2% 0.159 6.6);
Tailwind
colors: {
  custom: {
    50: '#bc6779',
    500: '#981d47',
    950: '#000000',
  },
}
SCSS
$custom: #981d47;
$custom-light: #bc6779;
$custom-dark: #000000;
JSON
{
  "hex": "#981d47",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 71
  },
  "hsl": {
    "h": 339.512,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45172,
    "c": 0.15915,
    "h": 6.6
  },
  "luminance": 0.08009
}

Semantic roles & 50–950 ramp

primary
#981D47
secondary
#50C19A
accent
#EBAF3D
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #981D47

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

Preview Lab → · Contrast checker → · Palette generator →

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