#971D52#971D52

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

Color values

HEX#971D52
RGBrgb(151, 29, 82)
HSLhsl(334, 68%, 35%)
HSVhsv(334, 81%, 59%)
CMYKcmyk(0%, 80.8%, 45.7%, 40.8%)
CIE-LABlab(34.13, 52.48, 0.08)
CIE-LCHlch(34.13, 52.48, 0.08°)
OKLaboklab(45.33% 0.1613 0.0008)
OKLCHoklch(45.33% 0.161 0.3)
XYZxyz(14.7260, 8.0692, 8.7631)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D52 #1D9762
analogous
#971D8F #971D52 #97251D
triadic
#971D52 #52971D #1D5297
tetradic
#971D52 #8F971D #1D9762 #251D97
square
#971D52 #8F971D #1D9762 #251D97
split-complementary
#971D52 #1D9725 #1D8F97
monochromatic
#30091A #641336 #971D52 #CA276E #DE518E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##971D52#FFFFFF#000000##FFFFFF
##971D521.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)
#3A4153
Deuteranopia (green-blind)
#5B594F
Tritanopia (blue-blind)
#A40035
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #971d52;
/* rgb */ color: rgb(151, 29, 82);
/* oklch */ color: oklch(45.3% 0.161 0.3);
Tailwind
colors: {
  custom: {
    50: '#bb6782',
    500: '#971d52',
    950: '#000000',
  },
}
SCSS
$custom: #971d52;
$custom-light: #bb6782;
$custom-dark: #000000;
JSON
{
  "hex": "#971d52",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 333.934,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45329,
    "c": 0.16131,
    "h": 0.3
  },
  "luminance": 0.08067
}

Semantic roles & 50–950 ramp

primary
#971D52
secondary
#4FC08F
accent
#EB9F3D
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #971D52

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

Preview Lab → · Contrast checker → · Palette generator →

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