#981B4D#981B4D

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

Color values

HEX#981B4D
RGBrgb(152, 27, 77)
HSLhsl(336, 70%, 35%)
HSVhsv(336, 82%, 60%)
CMYKcmyk(0%, 82.2%, 49.3%, 40.4%)
CIE-LABlab(33.98, 52.86, 3.14)
CIE-LCHlch(33.98, 52.95, 3.40°)
OKLaboklab(45.21% 0.1621 0.0086)
OKLCHoklch(45.21% 0.162 3)
XYZxyz(14.6817, 7.9971, 7.7902)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B4D #1B9866
analogous
#981B8B #981B4D #98281B
triadic
#981B4D #4D981B #1B4D98
tetradic
#981B4D #8B981B #1B9866 #281B98
square
#981B4D #8B981B #1B9866 #281B98
split-complementary
#981B4D #1B9828 #1B8B98
monochromatic
#300918 #641233 #981B4D #CC2467 #E04E88

Accessibility & contrast

On white

8.08
#981B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981B4D
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981B4D#FFFFFF#000000##FFFFFF
##981B4D1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B404E
Deuteranopia (green-blind)
#5C594A
Tritanopia (blue-blind)
#A60032
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981b4d;
/* rgb */ color: rgb(152, 27, 77);
/* oklch */ color: oklch(45.2% 0.162 3.0);
Tailwind
colors: {
  custom: {
    50: '#bc667e',
    500: '#981b4d',
    950: '#000000',
  },
}
SCSS
$custom: #981b4d;
$custom-light: #bc667e;
$custom-dark: #000000;
JSON
{
  "hex": "#981b4d",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 77
  },
  "hsl": {
    "h": 336,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45205,
    "c": 0.16238,
    "h": 3
  },
  "luminance": 0.07995
}

Semantic roles & 50–950 ramp

primary
#981B4D
secondary
#4DC293
accent
#EDA63B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #981B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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