#981A51#981A51

#981A51 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.164 H 0.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#981A51
RGBrgb(152, 26, 81)
HSLhsl(334, 71%, 35%)
HSVhsv(334, 83%, 60%)
CMYKcmyk(0%, 82.9%, 46.7%, 40.4%)
CIE-LABlab(34.00, 53.49, 0.57)
CIE-LCHlch(34.00, 53.49, 0.61°)
OKLaboklab(45.27% 0.1644 0.0021)
OKLCHoklch(45.27% 0.164 0.7)
XYZxyz(14.8047, 8.0103, 8.5495)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981A51 #1A9861
analogous
#981A90 #981A51 #98221A
triadic
#981A51 #51981A #1A5198
tetradic
#981A51 #90981A #1A9861 #221A98
square
#981A51 #90981A #1A9861 #221A98
split-complementary
#981A51 #1A9822 #1A9098
monochromatic
#2F0819 #641135 #981A51 #CC236D #E04C8D

Accessibility & contrast

On white

8.07
#981A51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#981A51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981A51
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981A51#FFFFFF#000000##FFFFFF
##981A511.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4152
Deuteranopia (green-blind)
#5B594E
Tritanopia (blue-blind)
#A50033
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981a51;
/* rgb */ color: rgb(152, 26, 81);
/* oklch */ color: oklch(45.3% 0.164 0.7);
Tailwind
colors: {
  custom: {
    50: '#bc6681',
    500: '#981a51',
    950: '#000000',
  },
}
SCSS
$custom: #981a51;
$custom-light: #bc6681;
$custom-dark: #000000;
JSON
{
  "hex": "#981a51",
  "rgb": {
    "r": 152,
    "g": 26,
    "b": 81
  },
  "hsl": {
    "h": 333.81,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45265,
    "c": 0.16445,
    "h": 0.7
  },
  "luminance": 0.08008
}

Semantic roles & 50–950 ramp

primary
#981A51
secondary
#4BC28E
accent
#EE9F3A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #981A51

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

Preview Lab → · Contrast checker → · Palette generator →

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