#981B51#981B51

#981B51 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.164 H 0.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#981B51
RGBrgb(152, 27, 81)
HSLhsl(334, 70%, 35%)
HSVhsv(334, 82%, 60%)
CMYKcmyk(0%, 82.2%, 46.7%, 40.4%)
CIE-LABlab(34.10, 53.22, 0.71)
CIE-LCHlch(34.10, 53.23, 0.76°)
OKLaboklab(45.33% 0.1636 0.0024)
OKLCHoklch(45.33% 0.164 0.8)
XYZxyz(14.8273, 8.0554, 8.5571)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B51 #1B9862
analogous
#981B8F #981B51 #98241B
triadic
#981B51 #51981B #1B5198
tetradic
#981B51 #8F981B #1B9862 #241B98
square
#981B51 #8F981B #1B9862 #241B98
split-complementary
#981B51 #1B9824 #1B8F98
monochromatic
#30091A #641235 #981B51 #CC246D #E04E8D

Accessibility & contrast

On white

8.04
#981B51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#981B51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981B51
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981B51#FFFFFF#000000##FFFFFF
##981B511.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4152
Deuteranopia (green-blind)
#5C594E
Tritanopia (blue-blind)
#A50034
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981b51;
/* rgb */ color: rgb(152, 27, 81);
/* oklch */ color: oklch(45.3% 0.164 0.8);
Tailwind
colors: {
  custom: {
    50: '#bc6681',
    500: '#981b51',
    950: '#000000',
  },
}
SCSS
$custom: #981b51;
$custom-light: #bc6681;
$custom-dark: #000000;
JSON
{
  "hex": "#981b51",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 81
  },
  "hsl": {
    "h": 334.08,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45333,
    "c": 0.1636,
    "h": 0.8
  },
  "luminance": 0.08053
}

Semantic roles & 50–950 ramp

primary
#981B51
secondary
#4DC28F
accent
#EDA03B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #981B51

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

Preview Lab → · Contrast checker → · Palette generator →

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