#981C52#981C52

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

Color values

HEX#981C52
RGBrgb(152, 28, 82)
HSLhsl(334, 69%, 35%)
HSVhsv(334, 82%, 60%)
CMYKcmyk(0%, 81.6%, 46.1%, 40.4%)
CIE-LABlab(34.23, 53.04, 0.24)
CIE-LCHlch(34.23, 53.04, 0.26°)
OKLaboklab(45.44% 0.163 0.0012)
OKLCHoklch(45.44% 0.163 0.4)
XYZxyz(14.8884, 8.1171, 8.7638)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981C52 #1C9862
analogous
#981C90 #981C52 #98241C
triadic
#981C52 #52981C #1C5298
tetradic
#981C52 #90981C #1C9862 #241C98
square
#981C52 #90981C #1C9862 #241C98
split-complementary
#981C52 #1C9824 #1C9098
monochromatic
#31091A #641236 #981C52 #CC266E #DF508E

Accessibility & contrast

On white

8.01
#981C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981C52
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981C52#FFFFFF#000000##FFFFFF
##981C521.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4153
Deuteranopia (green-blind)
#5C594F
Tritanopia (blue-blind)
#A50035
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981c52;
/* rgb */ color: rgb(152, 28, 82);
/* oklch */ color: oklch(45.4% 0.163 0.4);
Tailwind
colors: {
  custom: {
    50: '#bc6782',
    500: '#981c52',
    950: '#000000',
  },
}
SCSS
$custom: #981c52;
$custom-light: #bc6782;
$custom-dark: #000000;
JSON
{
  "hex": "#981c52",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 333.871,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45437,
    "c": 0.16304,
    "h": 0.4
  },
  "luminance": 0.08115
}

Semantic roles & 50–950 ramp

primary
#981C52
secondary
#4EC18F
accent
#EC9F3C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #981C52

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

Preview Lab → · Contrast checker → · Palette generator →

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