#971B72#971B72

#971B72 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.5% C 0.179 H 343.6°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#971B72
RGBrgb(151, 27, 114)
HSLhsl(318, 70%, 35%)
HSVhsv(318, 82%, 59%)
CMYKcmyk(0%, 82.1%, 24.5%, 40.8%)
CIE-LABlab(35.16, 56.65, -18.89)
CIE-LCHlch(35.16, 59.72, 341.56°)
OKLaboklab(46.48% 0.1714 -0.0505)
OKLCHoklch(46.48% 0.179 343.6)
XYZxyz(16.1924, 8.5799, 16.7197)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B72 #1B9740
analogous
#7E1B97 #971B72 #971B34
triadic
#971B72 #72971B #1B7297
tetradic
#971B72 #977E1B #1B9740 #1B3497
square
#971B72 #977E1B #1B9740 #1B3497
split-complementary
#971B72 #34971B #1B977E
monochromatic
#2F0824 #63124B #971B72 #CB2499 #DF4DB4

Accessibility & contrast

On white

7.73
#971B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#971B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B72
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B72#FFFFFF#000000##FFFFFF
##971B721.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4674
Deuteranopia (green-blind)
#525A6F
Tritanopia (blue-blind)
#A11B45
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #971b72;
/* rgb */ color: rgb(151, 27, 114);
/* oklch */ color: oklch(46.5% 0.179 343.6);
Tailwind
colors: {
  custom: {
    50: '#ba679a',
    500: '#971b72',
    950: '#000000',
  },
}
SCSS
$custom: #971b72;
$custom-light: #ba679a;
$custom-dark: #000000;
JSON
{
  "hex": "#971b72",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 317.903,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46483,
    "c": 0.17865,
    "h": 343.6
  },
  "luminance": 0.08578
}

Semantic roles & 50–950 ramp

primary
#971B72
secondary
#4CC16F
accent
#EC703B
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #971B72

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

Preview Lab → · Contrast checker → · Palette generator →

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