#981C51#981C51

#981C51 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.163 H 1.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#981C51
RGBrgb(152, 28, 81)
HSLhsl(334, 69%, 35%)
HSVhsv(334, 82%, 60%)
CMYKcmyk(0%, 81.6%, 46.7%, 40.4%)
CIE-LABlab(34.19, 52.95, 0.85)
CIE-LCHlch(34.19, 52.95, 0.92°)
OKLaboklab(45.4% 0.1627 0.0028)
OKLCHoklch(45.4% 0.163 1)
XYZxyz(14.8506, 8.1020, 8.5648)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C51 #1C9863
analogous
#981C8F #981C51 #98251C
triadic
#981C51 #51981C #1C5198
tetradic
#981C51 #8F981C #1C9863 #251C98
square
#981C51 #8F981C #1C9863 #251C98
split-complementary
#981C51 #1C9825 #1C8F98
monochromatic
#31091A #641235 #981C51 #CC266D #DF508D

Accessibility & contrast

On white

8.02
#981C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#981C51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981C51
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C51#FFFFFF#000000##FFFFFF
##981C511.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #981c51;
/* rgb */ color: rgb(152, 28, 81);
/* oklch */ color: oklch(45.4% 0.163 1.0);
Tailwind
colors: {
  custom: {
    50: '#bc6781',
    500: '#981c51',
    950: '#000000',
  },
}
SCSS
$custom: #981c51;
$custom-light: #bc6781;
$custom-dark: #000000;
JSON
{
  "hex": "#981c51",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 81
  },
  "hsl": {
    "h": 334.355,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45404,
    "c": 0.16271,
    "h": 1
  },
  "luminance": 0.081
}

Semantic roles & 50–950 ramp

primary
#981C51
secondary
#4EC190
accent
#ECA13C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #981C51

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

Preview Lab → · Contrast checker → · Palette generator →

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