#981B52#981B52

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

Color values

HEX#981B52
RGBrgb(152, 27, 82)
HSLhsl(334, 70%, 35%)
HSVhsv(334, 82%, 60%)
CMYKcmyk(0%, 82.2%, 46.1%, 40.4%)
CIE-LABlab(34.13, 53.31, 0.10)
CIE-LCHlch(34.13, 53.31, 0.11°)
OKLaboklab(45.37% 0.1639 0.0009)
OKLCHoklch(45.37% 0.164 0.3)
XYZxyz(14.8650, 8.0705, 8.7560)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981B52 #1B9861
analogous
#981B90 #981B52 #98231B
triadic
#981B52 #52981B #1B5298
tetradic
#981B52 #90981B #1B9861 #231B98
square
#981B52 #90981B #1B9861 #231B98
split-complementary
#981B52 #1B9823 #1B9098
monochromatic
#30091A #641236 #981B52 #CC246E #E04E8E

Accessibility & contrast

On white

8.03
#981B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981B52
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981B52#FFFFFF#000000##FFFFFF
##981B521.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #981b52;
/* rgb */ color: rgb(152, 27, 82);
/* oklch */ color: oklch(45.4% 0.164 0.3);
Tailwind
colors: {
  custom: {
    50: '#bc6682',
    500: '#981b52',
    950: '#000000',
  },
}
SCSS
$custom: #981b52;
$custom-light: #bc6682;
$custom-dark: #000000;
JSON
{
  "hex": "#981b52",
  "rgb": {
    "r": 152,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 333.6,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45367,
    "c": 0.16392,
    "h": 0.3
  },
  "luminance": 0.08068
}

Semantic roles & 50–950 ramp

primary
#981B52
secondary
#4DC28E
accent
#ED9F3B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #981B52

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

Preview Lab → · Contrast checker → · Palette generator →

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