#981981#981981

#981981 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.3% C 0.191 H 337.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#981981
RGBrgb(152, 25, 129)
HSLhsl(311, 72%, 35%)
HSVhsv(311, 84%, 60%)
CMYKcmyk(0%, 83.6%, 15.1%, 40.4%)
CIE-LABlab(35.90, 59.42, -27.13)
CIE-LCHlch(35.90, 65.32, 335.46°)
OKLaboklab(47.29% 0.1756 -0.0739)
OKLCHoklch(47.29% 0.191 337.2)
XYZxyz(17.2593, 8.9573, 21.5846)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981981 #199830
analogous
#6F1998 #981981 #981942
triadic
#981981 #819819 #198198
tetradic
#981981 #986F19 #199830 #194298
square
#981981 #986F19 #199830 #194298
split-complementary
#981981 #429819 #19986F
monochromatic
#2F0828 #631054 #981981 #CD22AE #E14AC6

Accessibility & contrast

On white

7.52
#981981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#981981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981981
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981981#FFFFFF#000000##FFFFFF
##9819811.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4884
Deuteranopia (green-blind)
#4D5B7E
Tritanopia (blue-blind)
#A1234D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #981981;
/* rgb */ color: rgb(152, 25, 129);
/* oklch */ color: oklch(47.3% 0.191 337.2);
Tailwind
colors: {
  custom: {
    50: '#ba68a6',
    500: '#981981',
    950: '#000000',
  },
}
SCSS
$custom: #981981;
$custom-light: #ba68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#981981",
  "rgb": {
    "r": 152,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 310.866,
    "s": 71.751,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47286,
    "c": 0.19051,
    "h": 337.2
  },
  "luminance": 0.08956
}

Semantic roles & 50–950 ramp

primary
#981981
secondary
#4AC360
accent
#EE5A39
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #981981

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

Preview Lab → · Contrast checker → · Palette generator →

#981981 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva