#971B54#971B54

#971B54 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.164 H 358.9°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#971B54
RGBrgb(151, 27, 84)
HSLhsl(332, 70%, 35%)
HSVhsv(332, 82%, 59%)
CMYKcmyk(0%, 82.1%, 44.4%, 40.8%)
CIE-LABlab(33.99, 53.24, -1.42)
CIE-LCHlch(33.99, 53.26, 358.47°)
OKLaboklab(45.25% 0.1638 -0.0031)
OKLCHoklch(45.25% 0.164 358.9)
XYZxyz(14.7558, 8.0053, 9.1539)
Luminance0.0800 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B54 #1B975E
analogous
#971B92 #971B54 #97201B
triadic
#971B54 #54971B #1B5497
tetradic
#971B54 #92971B #1B975E #201B97
square
#971B54 #92971B #1B975E #201B97
split-complementary
#971B54 #1B9720 #1B9297
monochromatic
#2F081A #631237 #971B54 #CB2471 #DF4D90

Accessibility & contrast

On white

8.08
#971B54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#971B54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B54
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B54#FFFFFF#000000##FFFFFF
##971B541.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394155
Deuteranopia (green-blind)
#5A5851
Tritanopia (blue-blind)
#A40035
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #971b54;
/* rgb */ color: rgb(151, 27, 84);
/* oklch */ color: oklch(45.3% 0.164 358.9);
Tailwind
colors: {
  custom: {
    50: '#bb6684',
    500: '#971b54',
    950: '#000000',
  },
}
SCSS
$custom: #971b54;
$custom-light: #bb6684;
$custom-dark: #000000;
JSON
{
  "hex": "#971b54",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 84
  },
  "hsl": {
    "h": 332.419,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45253,
    "c": 0.16382,
    "h": 358.9
  },
  "luminance": 0.08003
}

Semantic roles & 50–950 ramp

primary
#971B54
secondary
#4CC18C
accent
#EC9B3B
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #971B54

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

Preview Lab → · Contrast checker → · Palette generator →

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