#981E51#981E51

#981E51 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.161 H 1.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#981E51
RGBrgb(152, 30, 81)
HSLhsl(335, 67%, 36%)
HSVhsv(335, 80%, 60%)
CMYKcmyk(0%, 80.3%, 46.7%, 40.4%)
CIE-LABlab(34.40, 52.37, 1.14)
CIE-LCHlch(34.40, 52.39, 1.25°)
OKLaboklab(45.55% 0.1609 0.0035)
OKLCHoklch(45.55% 0.161 1.3)
XYZxyz(14.8996, 8.2000, 8.5812)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E51 #1E9865
analogous
#981E8E #981E51 #98281E
triadic
#981E51 #51981E #1E5198
tetradic
#981E51 #8E981E #1E9865 #281E98
square
#981E51 #8E981E #1E9865 #281E98
split-complementary
#981E51 #1E9828 #1E8E98
monochromatic
#320A1B #651436 #981E51 #CB286C #DD538D

Accessibility & contrast

On white

7.96
#981E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#981E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981E51
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981E51#FFFFFF#000000##FFFFFF
##981E511.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #981e51;
/* rgb */ color: rgb(152, 30, 81);
/* oklch */ color: oklch(45.6% 0.161 1.3);
Tailwind
colors: {
  custom: {
    50: '#bc6781',
    500: '#981e51',
    950: '#000000',
  },
}
SCSS
$custom: #981e51;
$custom-light: #bc6781;
$custom-dark: #000000;
JSON
{
  "hex": "#981e51",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 81
  },
  "hsl": {
    "h": 334.918,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45552,
    "c": 0.16089,
    "h": 1.3
  },
  "luminance": 0.08198
}

Semantic roles & 50–950 ramp

primary
#981E51
secondary
#51C092
accent
#EAA23E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #981E51

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

Preview Lab → · Contrast checker → · Palette generator →

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