#971F54#971F54

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

Color values

HEX#971F54
RGBrgb(151, 31, 84)
HSLhsl(334, 66%, 36%)
HSVhsv(334, 79%, 59%)
CMYKcmyk(0%, 79.5%, 44.4%, 40.8%)
CIE-LABlab(34.40, 52.09, -0.82)
CIE-LCHlch(34.40, 52.09, 359.09°)
OKLaboklab(45.55% 0.1601 -0.0015)
OKLCHoklch(45.55% 0.16 359.4)
XYZxyz(14.8539, 8.2013, 9.1866)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F54 #1F9762
analogous
#971F90 #971F54 #97261F
triadic
#971F54 #54971F #1F5497
tetradic
#971F54 #90971F #1F9762 #261F97
square
#971F54 #90971F #1F9762 #261F97
split-complementary
#971F54 #1F9726 #1F9097
monochromatic
#310A1C #641538 #971F54 #CA2970 #DC5490

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##971F54#FFFFFF#000000##FFFFFF
##971F541.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)
#3B4255
Deuteranopia (green-blind)
#5B5951
Tritanopia (blue-blind)
#A40537
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #971f54;
/* rgb */ color: rgb(151, 31, 84);
/* oklch */ color: oklch(45.5% 0.160 359.4);
Tailwind
colors: {
  custom: {
    50: '#bb6884',
    500: '#971f54',
    950: '#000000',
  },
}
SCSS
$custom: #971f54;
$custom-light: #bb6884;
$custom-dark: #000000;
JSON
{
  "hex": "#971f54",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 84
  },
  "hsl": {
    "h": 333.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45549,
    "c": 0.1601,
    "h": 359.4
  },
  "luminance": 0.08199
}

Semantic roles & 50–950 ramp

primary
#971F54
secondary
#52BF8F
accent
#E99E3F
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #971F54

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

Preview Lab → · Contrast checker → · Palette generator →

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