#971F56#971F56

#971F56 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.161 H 358.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#971F56
RGBrgb(151, 31, 86)
HSLhsl(333, 66%, 36%)
HSVhsv(333, 79%, 59%)
CMYKcmyk(0%, 79.5%, 43%, 40.8%)
CIE-LABlab(34.46, 52.28, -2.03)
CIE-LCHlch(34.46, 52.32, 357.78°)
OKLaboklab(45.62% 0.1608 -0.0047)
OKLCHoklch(45.62% 0.161 358.3)
XYZxyz(14.9333, 8.2331, 9.6051)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F56 #1F9760
analogous
#971F92 #971F56 #97241F
triadic
#971F56 #56971F #1F5697
tetradic
#971F56 #92971F #1F9760 #241F97
square
#971F56 #92971F #1F9760 #241F97
split-complementary
#971F56 #1F9724 #1F9297
monochromatic
#310A1C #641539 #971F56 #CA2973 #DC5493

Accessibility & contrast

On white

7.94
#971F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#971F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F56
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F56#FFFFFF#000000##FFFFFF
##971F561.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4357
Deuteranopia (green-blind)
#5B5953
Tritanopia (blue-blind)
#A40738
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #971f56;
/* rgb */ color: rgb(151, 31, 86);
/* oklch */ color: oklch(45.6% 0.161 358.3);
Tailwind
colors: {
  custom: {
    50: '#bb6885',
    500: '#971f56',
    950: '#000000',
  },
}
SCSS
$custom: #971f56;
$custom-light: #bb6885;
$custom-dark: #000000;
JSON
{
  "hex": "#971f56",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 86
  },
  "hsl": {
    "h": 332.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45618,
    "c": 0.16083,
    "h": 358.3
  },
  "luminance": 0.08231
}

Semantic roles & 50–950 ramp

primary
#971F56
secondary
#52BF8D
accent
#E99B3F
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #971F56

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

Preview Lab → · Contrast checker → · Palette generator →

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