#971F81#971F81

#971F81 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.5% C 0.185 H 336.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#971F81
RGBrgb(151, 31, 129)
HSLhsl(311, 66%, 36%)
HSVhsv(311, 79%, 59%)
CMYKcmyk(0%, 79.5%, 14.6%, 40.8%)
CIE-LABlab(36.26, 57.62, -26.58)
CIE-LCHlch(36.26, 63.46, 335.24°)
OKLaboklab(47.51% 0.1699 -0.0724)
OKLCHoklch(47.51% 0.185 336.9)
XYZxyz(17.2153, 9.1459, 21.6233)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F81 #1F9735
analogous
#711F97 #971F81 #971F45
triadic
#971F81 #81971F #1F8197
tetradic
#971F81 #97711F #1F9735 #1F4597
square
#971F81 #97711F #1F9735 #1F4597
split-complementary
#971F81 #45971F #1F9771
monochromatic
#310A2A #641556 #971F81 #CA29AC #DC54C3

Accessibility & contrast

On white

7.42
#971F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#971F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F81
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F81#FFFFFF#000000##FFFFFF
##971F811.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A84
Deuteranopia (green-blind)
#4E5C7E
Tritanopia (blue-blind)
#9F284F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971f81;
/* rgb */ color: rgb(151, 31, 129);
/* oklch */ color: oklch(47.5% 0.185 336.9);
Tailwind
colors: {
  custom: {
    50: '#b969a6',
    500: '#971f81',
    950: '#000000',
  },
}
SCSS
$custom: #971f81;
$custom-light: #b969a6;
$custom-dark: #000000;
JSON
{
  "hex": "#971f81",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 129
  },
  "hsl": {
    "h": 311,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47511,
    "c": 0.18467,
    "h": 336.9
  },
  "luminance": 0.09144
}

Semantic roles & 50–950 ramp

primary
#971F81
secondary
#52BF66
accent
#E95E3F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971F81

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

Preview Lab → · Contrast checker → · Palette generator →

#971F81 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva