#981F75#981F75

#981F75 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.177 H 342.7°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#981F75
RGBrgb(152, 31, 117)
HSLhsl(317, 66%, 36%)
HSVhsv(317, 80%, 60%)
CMYKcmyk(0%, 79.6%, 23%, 40.4%)
CIE-LABlab(35.87, 56.18, -19.67)
CIE-LCHlch(35.87, 59.53, 340.71°)
OKLaboklab(47.08% 0.1694 -0.0528)
OKLCHoklch(47.08% 0.177 342.7)
XYZxyz(16.6504, 8.9415, 17.6752)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F75 #1F9842
analogous
#7E1F98 #981F75 #981F39
triadic
#981F75 #75981F #1F7598
tetradic
#981F75 #987E1F #1F9842 #1F3998
square
#981F75 #987E1F #1F9842 #1F3998
split-complementary
#981F75 #39981F #1F987E
monochromatic
#320A27 #65154E #981F75 #CB299C #DC55B5

Accessibility & contrast

On white

7.53
#981F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#981F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F75
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F75#FFFFFF#000000##FFFFFF
##981F751.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4877
Deuteranopia (green-blind)
#535B72
Tritanopia (blue-blind)
#A22048
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #981f75;
/* rgb */ color: rgb(152, 31, 117);
/* oklch */ color: oklch(47.1% 0.177 342.7);
Tailwind
colors: {
  custom: {
    50: '#ba699d',
    500: '#981f75',
    950: '#000000',
  },
}
SCSS
$custom: #981f75;
$custom-light: #ba699d;
$custom-dark: #000000;
JSON
{
  "hex": "#981f75",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 117
  },
  "hsl": {
    "h": 317.355,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47075,
    "c": 0.17739,
    "h": 342.7
  },
  "luminance": 0.0894
}

Semantic roles & 50–950 ramp

primary
#981F75
secondary
#53C072
accent
#E9703F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #981F75

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

Preview Lab → · Contrast checker → · Palette generator →

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