#971B80#971B80

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

Color values

HEX#971B80
RGBrgb(151, 27, 128)
HSLhsl(311, 70%, 35%)
HSVhsv(311, 82%, 59%)
CMYKcmyk(0%, 82.1%, 15.2%, 40.8%)
CIE-LABlab(35.84, 58.56, -26.62)
CIE-LCHlch(35.84, 64.33, 335.55°)
OKLaboklab(47.19% 0.1731 -0.0725)
OKLCHoklch(47.19% 0.188 337.3)
XYZxyz(17.0511, 8.9234, 21.2423)
Luminance0.0892 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B80 #1B9732
analogous
#701B97 #971B80 #971B42
triadic
#971B80 #80971B #1B8097
tetradic
#971B80 #97701B #1B9732 #1B4297
square
#971B80 #97701B #1B9732 #1B4297
split-complementary
#971B80 #42971B #1B9770
monochromatic
#2F0828 #631254 #971B80 #CB24AC #DF4DC4

Accessibility & contrast

On white

7.54
#971B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#971B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B80
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B80#FFFFFF#000000##FFFFFF
##971B801.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204883
Deuteranopia (green-blind)
#4D5B7D
Tritanopia (blue-blind)
#A0244D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971b80;
/* rgb */ color: rgb(151, 27, 128);
/* oklch */ color: oklch(47.2% 0.188 337.3);
Tailwind
colors: {
  custom: {
    50: '#ba68a5',
    500: '#971b80',
    950: '#000000',
  },
}
SCSS
$custom: #971b80;
$custom-light: #ba68a5;
$custom-dark: #000000;
JSON
{
  "hex": "#971b80",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 311.129,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47188,
    "c": 0.18764,
    "h": 337.3
  },
  "luminance": 0.08922
}

Semantic roles & 50–950 ramp

primary
#971B80
secondary
#4CC162
accent
#EC5C3B
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971B80

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

Preview Lab → · Contrast checker → · Palette generator →

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