#971A5A#971A5A

#971A5A is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.167 H 355.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#971A5A
RGBrgb(151, 26, 90)
HSLhsl(329, 71%, 35%)
HSVhsv(329, 83%, 59%)
CMYKcmyk(0%, 82.8%, 40.4%, 40.8%)
CIE-LABlab(34.10, 54.11, -5.15)
CIE-LCHlch(34.10, 54.35, 354.57°)
OKLaboklab(45.4% 0.1666 -0.0129)
OKLCHoklch(45.4% 0.167 355.6)
XYZxyz(14.9784, 8.0582, 10.4375)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A5A #1A9757
analogous
#961A97 #971A5A #971A1C
triadic
#971A5A #5A971A #1A5A97
tetradic
#971A5A #97961A #1A9757 #1A1C97
square
#971A5A #97961A #1A9757 #1A1C97
split-complementary
#971A5A #1C971A #1A9796
monochromatic
#2F081C #63113B #971A5A #CB2379 #E04B97

Accessibility & contrast

On white

8.04
#971A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#971A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A5A
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A5A#FFFFFF#000000##FFFFFF
##971A5A1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36425C
Deuteranopia (green-blind)
#595857
Tritanopia (blue-blind)
#A40138
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #971a5a;
/* rgb */ color: rgb(151, 26, 90);
/* oklch */ color: oklch(45.4% 0.167 355.6);
Tailwind
colors: {
  custom: {
    50: '#bb6688',
    500: '#971a5a',
    950: '#000000',
  },
}
SCSS
$custom: #971a5a;
$custom-light: #bb6688;
$custom-dark: #000000;
JSON
{
  "hex": "#971a5a",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 90
  },
  "hsl": {
    "h": 329.28,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.454,
    "c": 0.16705,
    "h": 355.6
  },
  "luminance": 0.08056
}

Semantic roles & 50–950 ramp

primary
#971A5A
secondary
#4BC285
accent
#ED923A
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #971A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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