#971B63#971B63

#971B63 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.170 H 351.0°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#971B63
RGBrgb(151, 27, 99)
HSLhsl(325, 70%, 35%)
HSVhsv(325, 82%, 59%)
CMYKcmyk(0%, 82.1%, 34.4%, 40.8%)
CIE-LABlab(34.53, 54.82, -10.30)
CIE-LCHlch(34.53, 55.78, 349.36°)
OKLaboklab(45.82% 0.1682 -0.0268)
OKLCHoklch(45.82% 0.17 351)
XYZxyz(15.4075, 8.2659, 12.5861)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B63 #1B974F
analogous
#8D1B97 #971B63 #971B25
triadic
#971B63 #63971B #1B6397
tetradic
#971B63 #978D1B #1B974F #1B2597
square
#971B63 #978D1B #1B974F #1B2597
split-complementary
#971B63 #25971B #1B978D
monochromatic
#2F081F #631241 #971B63 #CB2485 #DF4DA2

Accessibility & contrast

On white

7.92
#971B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#971B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B63
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B63#FFFFFF#000000##FFFFFF
##971B631.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334365
Deuteranopia (green-blind)
#575960
Tritanopia (blue-blind)
#A30E3D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #971b63;
/* rgb */ color: rgb(151, 27, 99);
/* oklch */ color: oklch(45.8% 0.170 351.0);
Tailwind
colors: {
  custom: {
    50: '#ba678f',
    500: '#971b63',
    950: '#000000',
  },
}
SCSS
$custom: #971b63;
$custom-light: #ba678f;
$custom-dark: #000000;
JSON
{
  "hex": "#971b63",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 325.161,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4582,
    "c": 0.17032,
    "h": 351
  },
  "luminance": 0.08264
}

Semantic roles & 50–950 ramp

primary
#971B63
secondary
#4CC17D
accent
#EC863B
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #971B63

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

Preview Lab → · Contrast checker → · Palette generator →

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