#981B47#981B47

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

Color values

HEX#981B47
RGBrgb(152, 27, 71)
HSLhsl(339, 70%, 35%)
HSVhsv(339, 82%, 60%)
CMYKcmyk(0%, 82.2%, 53.3%, 40.4%)
CIE-LABlab(33.81, 52.35, 6.82)
CIE-LCHlch(33.81, 52.79, 7.42°)
OKLaboklab(45.03% 0.1599 0.0177)
OKLCHoklch(45.03% 0.161 6.3)
XYZxyz(14.4795, 7.9163, 6.7256)
Luminance0.0791 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B47 #1B986C
analogous
#981B85 #981B47 #982E1B
triadic
#981B47 #47981B #1B4798
tetradic
#981B47 #85981B #1B986C #2E1B98
square
#981B47 #85981B #1B986C #2E1B98
split-complementary
#981B47 #1B982E #1B8598
monochromatic
#300916 #64122F #981B47 #CC245F #E04E81

Accessibility & contrast

On white

8.13
#981B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#981B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981B47
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981B47#FFFFFF#000000##FFFFFF
##981B471.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4048
Deuteranopia (green-blind)
#5D5844
Tritanopia (blue-blind)
#A6002F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #981b47;
/* rgb */ color: rgb(152, 27, 71);
/* oklch */ color: oklch(45.0% 0.161 6.3);
Tailwind
colors: {
  custom: {
    50: '#bc6679',
    500: '#981b47',
    950: '#000000',
  },
}
SCSS
$custom: #981b47;
$custom-light: #bc6679;
$custom-dark: #000000;
JSON
{
  "hex": "#981b47",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 338.88,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45026,
    "c": 0.16088,
    "h": 6.3
  },
  "luminance": 0.07914
}

Semantic roles & 50–950 ramp

primary
#981B47
secondary
#4DC299
accent
#EDAE3B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #981B47

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

Preview Lab → · Contrast checker → · Palette generator →

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