#971B52#971B52

#971B52 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.163 H 0.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#971B52
RGBrgb(151, 27, 82)
HSLhsl(333, 70%, 35%)
HSVhsv(333, 82%, 59%)
CMYKcmyk(0%, 82.1%, 45.7%, 40.8%)
CIE-LABlab(33.93, 53.04, -0.21)
CIE-LCHlch(33.93, 53.04, 359.77°)
OKLaboklab(45.18% 0.1631 0)
OKLCHoklch(45.18% 0.163 0)
XYZxyz(14.6786, 7.9744, 8.7473)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B52 #1B9760
analogous
#971B90 #971B52 #97221B
triadic
#971B52 #52971B #1B5297
tetradic
#971B52 #90971B #1B9760 #221B97
square
#971B52 #90971B #1B9760 #221B97
split-complementary
#971B52 #1B9722 #1B9097
monochromatic
#2F081A #631236 #971B52 #CB246E #DF4D8E

Accessibility & contrast

On white

8.09
#971B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#971B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B52
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B52#FFFFFF#000000##FFFFFF
##971B521.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394153
Deuteranopia (green-blind)
#5B584F
Tritanopia (blue-blind)
#A40034
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #971b52;
/* rgb */ color: rgb(151, 27, 82);
/* oklch */ color: oklch(45.2% 0.163 0.0);
Tailwind
colors: {
  custom: {
    50: '#bb6682',
    500: '#971b52',
    950: '#000000',
  },
}
SCSS
$custom: #971b52;
$custom-light: #bb6682;
$custom-dark: #000000;
JSON
{
  "hex": "#971b52",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 333.387,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45185,
    "c": 0.16311,
    "h": 0
  },
  "luminance": 0.07972
}

Semantic roles & 50–950 ramp

primary
#971B52
secondary
#4CC18E
accent
#EC9E3B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #971B52

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

Preview Lab → · Contrast checker → · Palette generator →

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