#981B4B#981B4B

#981B4B is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.162 H 4.1°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#981B4B
RGBrgb(152, 27, 75)
HSLhsl(337, 70%, 35%)
HSVhsv(337, 82%, 60%)
CMYKcmyk(0%, 82.2%, 50.7%, 40.4%)
CIE-LABlab(33.92, 52.68, 4.36)
CIE-LCHlch(33.92, 52.86, 4.73°)
OKLaboklab(45.14% 0.1614 0.0116)
OKLCHoklch(45.14% 0.162 4.1)
XYZxyz(14.6121, 7.9693, 7.4240)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B4B #1B9868
analogous
#981B89 #981B4B #982A1B
triadic
#981B4B #4B981B #1B4B98
tetradic
#981B4B #89981B #1B9868 #2A1B98
square
#981B4B #89981B #1B9868 #2A1B98
split-complementary
#981B4B #1B982A #1B8998
monochromatic
#300918 #641231 #981B4B #CC2465 #E04E86

Accessibility & contrast

On white

8.10
#981B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981B4B
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981B4B#FFFFFF#000000##FFFFFF
##981B4B1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C404C
Deuteranopia (green-blind)
#5D5848
Tritanopia (blue-blind)
#A60031
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981b4b;
/* rgb */ color: rgb(152, 27, 75);
/* oklch */ color: oklch(45.1% 0.162 4.1);
Tailwind
colors: {
  custom: {
    50: '#bc667d',
    500: '#981b4b',
    950: '#000000',
  },
}
SCSS
$custom: #981b4b;
$custom-light: #bc667d;
$custom-dark: #000000;
JSON
{
  "hex": "#981b4b",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 75
  },
  "hsl": {
    "h": 336.96,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45144,
    "c": 0.16184,
    "h": 4.1
  },
  "luminance": 0.07967
}

Semantic roles & 50–950 ramp

primary
#981B4B
secondary
#4DC295
accent
#EDA83B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #981B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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