#971A52#971A52

#971A52 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.164 H 359.9°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#971A52
RGBrgb(151, 26, 82)
HSLhsl(333, 71%, 35%)
HSVhsv(333, 83%, 59%)
CMYKcmyk(0%, 82.8%, 45.7%, 40.8%)
CIE-LABlab(33.84, 53.31, -0.35)
CIE-LCHlch(33.84, 53.31, 359.62°)
OKLaboklab(45.12% 0.164 -0.0003)
OKLCHoklch(45.12% 0.164 359.9)
XYZxyz(14.6561, 7.9293, 8.7398)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A52 #1A975F
analogous
#971A91 #971A52 #97211A
triadic
#971A52 #52971A #1A5297
tetradic
#971A52 #91971A #1A975F #211A97
square
#971A52 #91971A #1A975F #211A97
split-complementary
#971A52 #1A9721 #1A9197
monochromatic
#2F0819 #631136 #971A52 #CB236E #E04B8E

Accessibility & contrast

On white

8.12
#971A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971A52
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A52#FFFFFF#000000##FFFFFF
##971A521.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971a52;
/* rgb */ color: rgb(151, 26, 82);
/* oklch */ color: oklch(45.1% 0.164 359.9);
Tailwind
colors: {
  custom: {
    50: '#bb6682',
    500: '#971a52',
    950: '#000000',
  },
}
SCSS
$custom: #971a52;
$custom-light: #bb6682;
$custom-dark: #000000;
JSON
{
  "hex": "#971a52",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 333.12,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45116,
    "c": 0.16398,
    "h": 359.9
  },
  "luminance": 0.07927
}

Semantic roles & 50–950 ramp

primary
#971A52
secondary
#4BC28D
accent
#ED9D3A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #971A52

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

Preview Lab → · Contrast checker → · Palette generator →

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