#981F5F#981F5F

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

Color values

HEX#981F5F
RGBrgb(152, 31, 95)
HSLhsl(328, 66%, 36%)
HSVhsv(328, 80%, 60%)
CMYKcmyk(0%, 79.6%, 37.5%, 40.4%)
CIE-LABlab(34.97, 53.50, -7.06)
CIE-LCHlch(34.97, 53.97, 352.49°)
OKLaboklab(46.13% 0.1644 -0.018)
OKLCHoklch(46.13% 0.165 353.8)
XYZxyz(15.5055, 8.4835, 11.6452)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F5F #1F9858
analogous
#941F98 #981F5F #981F23
triadic
#981F5F #5F981F #1F5F98
tetradic
#981F5F #98941F #1F9858 #1F2398
square
#981F5F #98941F #1F9858 #1F2398
split-complementary
#981F5F #23981F #1F9894
monochromatic
#320A1F #65153F #981F5F #CB297F #DC559D

Accessibility & contrast

On white

7.79
#981F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#981F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F5F
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F5F#FFFFFF#000000##FFFFFF
##981F5F1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374461
Deuteranopia (green-blind)
#595A5C
Tritanopia (blue-blind)
#A4103C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #981f5f;
/* rgb */ color: rgb(152, 31, 95);
/* oklch */ color: oklch(46.1% 0.165 353.8);
Tailwind
colors: {
  custom: {
    50: '#bb688c',
    500: '#981f5f',
    950: '#000000',
  },
}
SCSS
$custom: #981f5f;
$custom-light: #bb688c;
$custom-dark: #000000;
JSON
{
  "hex": "#981f5f",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 95
  },
  "hsl": {
    "h": 328.264,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46126,
    "c": 0.16537,
    "h": 353.8
  },
  "luminance": 0.08482
}

Semantic roles & 50–950 ramp

primary
#981F5F
secondary
#53C086
accent
#E98F3F
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #981F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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