#971B81#971B81

#971B81 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.2% C 0.188 H 336.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#971B81
RGBrgb(151, 27, 129)
HSLhsl(311, 70%, 35%)
HSVhsv(311, 82%, 59%)
CMYKcmyk(0%, 82.1%, 14.6%, 40.8%)
CIE-LABlab(35.89, 58.71, -27.17)
CIE-LCHlch(35.89, 64.69, 335.17°)
OKLaboklab(47.24% 0.1731 -0.0741)
OKLCHoklch(47.24% 0.188 336.8)
XYZxyz(17.1172, 8.9498, 21.5906)
Luminance0.0895 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B81 #1B9731
analogous
#6F1B97 #971B81 #971B43
triadic
#971B81 #81971B #1B8197
tetradic
#971B81 #976F1B #1B9731 #1B4397
square
#971B81 #976F1B #1B9731 #1B4397
split-complementary
#971B81 #43971B #1B976F
monochromatic
#2F0828 #631255 #971B81 #CB24AD #DF4DC5

Accessibility & contrast

On white

7.53
#971B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#971B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B81
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B81#FFFFFF#000000##FFFFFF
##971B811.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)
#1F4984
Deuteranopia (green-blind)
#4C5B7E
Tritanopia (blue-blind)
#9F254E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971b81;
/* rgb */ color: rgb(151, 27, 129);
/* oklch */ color: oklch(47.2% 0.188 336.8);
Tailwind
colors: {
  custom: {
    50: '#ba68a6',
    500: '#971b81',
    950: '#000000',
  },
}
SCSS
$custom: #971b81;
$custom-light: #ba68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#971b81",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 129
  },
  "hsl": {
    "h": 310.645,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47241,
    "c": 0.18831,
    "h": 336.8
  },
  "luminance": 0.08948
}

Semantic roles & 50–950 ramp

primary
#971B81
secondary
#4CC161
accent
#EC5B3B
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971B81

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

Preview Lab → · Contrast checker → · Palette generator →

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