#971D51#971D51

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

Color values

HEX#971D51
RGBrgb(151, 29, 81)
HSLhsl(334, 68%, 35%)
HSVhsv(334, 81%, 59%)
CMYKcmyk(0%, 80.8%, 46.4%, 40.8%)
CIE-LABlab(34.10, 52.39, 0.68)
CIE-LCHlch(34.10, 52.39, 0.74°)
OKLaboklab(45.3% 0.161 0.0023)
OKLCHoklch(45.3% 0.161 0.8)
XYZxyz(14.6883, 8.0541, 8.5641)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D51 #1D9763
analogous
#971D8E #971D51 #97261D
triadic
#971D51 #51971D #1D5197
tetradic
#971D51 #8E971D #1D9763 #261D97
square
#971D51 #8E971D #1D9763 #261D97
split-complementary
#971D51 #1D9726 #1D8E97
monochromatic
#30091A #641335 #971D51 #CA276D #DE518D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##971D51#FFFFFF#000000##FFFFFF
##971D511.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)
#3B4152
Deuteranopia (green-blind)
#5B594E
Tritanopia (blue-blind)
#A40034
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #971d51;
/* rgb */ color: rgb(151, 29, 81);
/* oklch */ color: oklch(45.3% 0.161 0.8);
Tailwind
colors: {
  custom: {
    50: '#bb6781',
    500: '#971d51',
    950: '#000000',
  },
}
SCSS
$custom: #971d51;
$custom-light: #bb6781;
$custom-dark: #000000;
JSON
{
  "hex": "#971d51",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 81
  },
  "hsl": {
    "h": 334.426,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45296,
    "c": 0.16098,
    "h": 0.8
  },
  "luminance": 0.08052
}

Semantic roles & 50–950 ramp

primary
#971D51
secondary
#4FC090
accent
#EBA13D
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #971D51

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

Preview Lab → · Contrast checker → · Palette generator →

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