#981B48#981B48

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

Color values

HEX#981B48
RGBrgb(152, 27, 72)
HSLhsl(338, 70%, 35%)
HSVhsv(338, 82%, 60%)
CMYKcmyk(0%, 82.2%, 52.6%, 40.4%)
CIE-LABlab(33.84, 52.43, 6.20)
CIE-LCHlch(33.84, 52.80, 6.74°)
OKLaboklab(45.06% 0.1603 0.0162)
OKLCHoklch(45.06% 0.161 5.8)
XYZxyz(14.5119, 7.9292, 6.8960)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B48 #1B986B
analogous
#981B86 #981B48 #982D1B
triadic
#981B48 #48981B #1B4898
tetradic
#981B48 #86981B #1B986B #2D1B98
square
#981B48 #86981B #1B986B #2D1B98
split-complementary
#981B48 #1B982D #1B8698
monochromatic
#300917 #64122F #981B48 #CC2461 #E04E82

Accessibility & contrast

On white

8.12
#981B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#981B48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981B48
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981B48#FFFFFF#000000##FFFFFF
##981B481.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4049
Deuteranopia (green-blind)
#5D5845
Tritanopia (blue-blind)
#A6002F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981b48;
/* rgb */ color: rgb(152, 27, 72);
/* oklch */ color: oklch(45.1% 0.161 5.8);
Tailwind
colors: {
  custom: {
    50: '#bc667a',
    500: '#981b48',
    950: '#000000',
  },
}
SCSS
$custom: #981b48;
$custom-light: #bc667a;
$custom-dark: #000000;
JSON
{
  "hex": "#981b48",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 72
  },
  "hsl": {
    "h": 338.4,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45055,
    "c": 0.1611,
    "h": 5.8
  },
  "luminance": 0.07927
}

Semantic roles & 50–950 ramp

primary
#981B48
secondary
#4DC298
accent
#EDAD3B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #981B48

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

Preview Lab → · Contrast checker → · Palette generator →

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