#971F52#971F52

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

Color values

HEX#971F52
RGBrgb(151, 31, 82)
HSLhsl(335, 66%, 36%)
HSVhsv(335, 79%, 59%)
CMYKcmyk(0%, 79.5%, 45.7%, 40.8%)
CIE-LABlab(34.34, 51.89, 0.38)
CIE-LCHlch(34.34, 51.89, 0.42°)
OKLaboklab(45.48% 0.1594 0.0016)
OKLCHoklch(45.48% 0.159 0.6)
XYZxyz(14.7767, 8.1705, 8.7799)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F52 #1F9764
analogous
#971F8E #971F52 #97281F
triadic
#971F52 #52971F #1F5297
tetradic
#971F52 #8E971F #1F9764 #281F97
square
#971F52 #8E971F #1F9764 #281F97
split-complementary
#971F52 #1F9728 #1F8E97
monochromatic
#310A1B #641536 #971F52 #CA296E #DC548E

Accessibility & contrast

On white

7.97
#971F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#971F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F52
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F52#FFFFFF#000000##FFFFFF
##971F521.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4253
Deuteranopia (green-blind)
#5C594F
Tritanopia (blue-blind)
#A40336
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #971f52;
/* rgb */ color: rgb(151, 31, 82);
/* oklch */ color: oklch(45.5% 0.159 0.6);
Tailwind
colors: {
  custom: {
    50: '#bb6882',
    500: '#971f52',
    950: '#000000',
  },
}
SCSS
$custom: #971f52;
$custom-light: #bb6882;
$custom-dark: #000000;
JSON
{
  "hex": "#971f52",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 334.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45482,
    "c": 0.15941,
    "h": 0.6
  },
  "luminance": 0.08168
}

Semantic roles & 50–950 ramp

primary
#971F52
secondary
#52BF91
accent
#E9A13F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #971F52

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

Preview Lab → · Contrast checker → · Palette generator →

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