#971F53#971F53

#971F53 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.160 H 0.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#971F53
RGBrgb(151, 31, 83)
HSLhsl(334, 66%, 36%)
HSVhsv(334, 79%, 59%)
CMYKcmyk(0%, 79.5%, 45%, 40.8%)
CIE-LABlab(34.37, 51.99, -0.22)
CIE-LCHlch(34.37, 51.99, 359.75°)
OKLaboklab(45.52% 0.1598 0)
OKLCHoklch(45.52% 0.16 0)
XYZxyz(14.8150, 8.1858, 8.9818)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F53 #1F9763
analogous
#971F8F #971F53 #97271F
triadic
#971F53 #53971F #1F5397
tetradic
#971F53 #8F971F #1F9763 #271F97
square
#971F53 #8F971F #1F9763 #271F97
split-complementary
#971F53 #1F9727 #1F8F97
monochromatic
#310A1B #641537 #971F53 #CA296F #DC548F

Accessibility & contrast

On white

7.96
#971F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#971F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F53
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F53#FFFFFF#000000##FFFFFF
##971F531.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4254
Deuteranopia (green-blind)
#5B5950
Tritanopia (blue-blind)
#A40436
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #971f53;
/* rgb */ color: rgb(151, 31, 83);
/* oklch */ color: oklch(45.5% 0.160 0.0);
Tailwind
colors: {
  custom: {
    50: '#bb6883',
    500: '#971f53',
    950: '#000000',
  },
}
SCSS
$custom: #971f53;
$custom-light: #bb6883;
$custom-dark: #000000;
JSON
{
  "hex": "#971f53",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 83
  },
  "hsl": {
    "h": 334,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45515,
    "c": 0.15975,
    "h": 0
  },
  "luminance": 0.08184
}

Semantic roles & 50–950 ramp

primary
#971F53
secondary
#52BF90
accent
#E99F3F
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #971F53

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

Preview Lab → · Contrast checker → · Palette generator →

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