#981C5E#981C5E

#981C5E is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.168 H 354.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#981C5E
RGBrgb(152, 28, 94)
HSLhsl(328, 69%, 35%)
HSVhsv(328, 82%, 60%)
CMYKcmyk(0%, 81.6%, 38.2%, 40.4%)
CIE-LABlab(34.63, 54.25, -6.92)
CIE-LCHlch(34.63, 54.69, 352.73°)
OKLaboklab(45.87% 0.1668 -0.0176)
OKLCHoklch(45.87% 0.168 354)
XYZxyz(15.3856, 8.3160, 11.3825)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C5E #1C9856
analogous
#941C98 #981C5E #981C20
triadic
#981C5E #5E981C #1C5E98
tetradic
#981C5E #98941C #1C9856 #1C2098
square
#981C5E #98941C #1C9856 #1C2098
split-complementary
#981C5E #20981C #1C9894
monochromatic
#31091E #64123E #981C5E #CC267E #DF509C

Accessibility & contrast

On white

7.89
#981C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#981C5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981C5E
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C5E#FFFFFF#000000##FFFFFF
##981C5E1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364360
Deuteranopia (green-blind)
#59595B
Tritanopia (blue-blind)
#A4093B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #981c5e;
/* rgb */ color: rgb(152, 28, 94);
/* oklch */ color: oklch(45.9% 0.168 354.0);
Tailwind
colors: {
  custom: {
    50: '#bb678b',
    500: '#981c5e',
    950: '#000000',
  },
}
SCSS
$custom: #981c5e;
$custom-light: #bb678b;
$custom-dark: #000000;
JSON
{
  "hex": "#981c5e",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 94
  },
  "hsl": {
    "h": 328.065,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45867,
    "c": 0.16777,
    "h": 354
  },
  "luminance": 0.08314
}

Semantic roles & 50–950 ramp

primary
#981C5E
secondary
#4EC184
accent
#EC8E3C
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #981C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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