#981D52#981D52

#981D52 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.162 H 0.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#981D52
RGBrgb(152, 29, 82)
HSLhsl(334, 68%, 35%)
HSVhsv(334, 81%, 60%)
CMYKcmyk(0%, 80.9%, 46.1%, 40.4%)
CIE-LABlab(34.32, 52.76, 0.39)
CIE-LCHlch(34.32, 52.76, 0.42°)
OKLaboklab(45.51% 0.1621 0.0016)
OKLCHoklch(45.51% 0.162 0.6)
XYZxyz(14.9125, 8.1653, 8.7718)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981D52 #1D9863
analogous
#981D90 #981D52 #98251D
triadic
#981D52 #52981D #1D5298
tetradic
#981D52 #90981D #1D9863 #251D98
square
#981D52 #90981D #1D9863 #251D98
split-complementary
#981D52 #1D9825 #1D9098
monochromatic
#31091B #651336 #981D52 #CB276E #DE528E

Accessibility & contrast

On white

7.98
#981D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#981D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981D52
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981D52#FFFFFF#000000##FFFFFF
##981D521.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #981d52;
/* rgb */ color: rgb(152, 29, 82);
/* oklch */ color: oklch(45.5% 0.162 0.6);
Tailwind
colors: {
  custom: {
    50: '#bc6782',
    500: '#981d52',
    950: '#000000',
  },
}
SCSS
$custom: #981d52;
$custom-light: #bc6782;
$custom-dark: #000000;
JSON
{
  "hex": "#981d52",
  "rgb": {
    "r": 152,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 334.146,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4551,
    "c": 0.16214,
    "h": 0.6
  },
  "luminance": 0.08163
}

Semantic roles & 50–950 ramp

primary
#981D52
secondary
#50C190
accent
#EBA03D
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #981D52

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

Preview Lab → · Contrast checker → · Palette generator →

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