#981F5E#981F5E

#981F5E is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.165 H 354.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#981F5E
RGBrgb(152, 31, 94)
HSLhsl(329, 66%, 36%)
HSVhsv(329, 80%, 60%)
CMYKcmyk(0%, 79.6%, 38.2%, 40.4%)
CIE-LABlab(34.93, 53.39, -6.47)
CIE-LCHlch(34.93, 53.78, 353.09°)
OKLaboklab(46.09% 0.1641 -0.0164)
OKLCHoklch(46.09% 0.165 354.3)
XYZxyz(15.4603, 8.4655, 11.4074)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F5E #1F9859
analogous
#951F98 #981F5E #981F22
triadic
#981F5E #5E981F #1F5E98
tetradic
#981F5E #98951F #1F9859 #1F2298
square
#981F5E #98951F #1F9859 #1F2298
split-complementary
#981F5E #22981F #1F9895
monochromatic
#320A1F #65153F #981F5E #CB297D #DC559B

Accessibility & contrast

On white

7.80
#981F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#981F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F5E
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F5E#FFFFFF#000000##FFFFFF
##981F5E1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384460
Deuteranopia (green-blind)
#5A5A5B
Tritanopia (blue-blind)
#A40F3C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #981f5e;
/* rgb */ color: rgb(152, 31, 94);
/* oklch */ color: oklch(46.1% 0.165 354.3);
Tailwind
colors: {
  custom: {
    50: '#bb688b',
    500: '#981f5e',
    950: '#000000',
  },
}
SCSS
$custom: #981f5e;
$custom-light: #bb688b;
$custom-dark: #000000;
JSON
{
  "hex": "#981f5e",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 94
  },
  "hsl": {
    "h": 328.76,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46087,
    "c": 0.16492,
    "h": 354.3
  },
  "luminance": 0.08464
}

Semantic roles & 50–950 ramp

primary
#981F5E
secondary
#53C087
accent
#E9903F
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #981F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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