#971A54#971A54

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

Color values

HEX#971A54
RGBrgb(151, 26, 84)
HSLhsl(332, 71%, 35%)
HSVhsv(332, 83%, 59%)
CMYKcmyk(0%, 82.8%, 44.4%, 40.8%)
CIE-LABlab(33.90, 53.50, -1.56)
CIE-LCHlch(33.90, 53.53, 358.33°)
OKLaboklab(45.18% 0.1647 -0.0034)
OKLCHoklch(45.18% 0.165 358.8)
XYZxyz(14.7333, 7.9602, 9.1464)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A54 #1A975D
analogous
#971A93 #971A54 #971F1A
triadic
#971A54 #54971A #1A5497
tetradic
#971A54 #93971A #1A975D #1F1A97
square
#971A54 #93971A #1A975D #1F1A97
split-complementary
#971A54 #1A971F #1A9397
monochromatic
#2F081A #631137 #971A54 #CB2371 #E04B90

Accessibility & contrast

On white

8.10
#971A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971A54
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A54#FFFFFF#000000##FFFFFF
##971A541.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971a54;
/* rgb */ color: rgb(151, 26, 84);
/* oklch */ color: oklch(45.2% 0.165 358.8);
Tailwind
colors: {
  custom: {
    50: '#bb6684',
    500: '#971a54',
    950: '#000000',
  },
}
SCSS
$custom: #971a54;
$custom-light: #bb6684;
$custom-dark: #000000;
JSON
{
  "hex": "#971a54",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 84
  },
  "hsl": {
    "h": 332.16,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45184,
    "c": 0.16469,
    "h": 358.8
  },
  "luminance": 0.07958
}

Semantic roles & 50–950 ramp

primary
#971A54
secondary
#4BC28B
accent
#ED9A3A
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #971A54

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

Preview Lab → · Contrast checker → · Palette generator →

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