#971F5D#971F5D

#971F5D is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.164 H 354.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#971F5D
RGBrgb(151, 31, 93)
HSLhsl(329, 66%, 36%)
HSVhsv(329, 79%, 59%)
CMYKcmyk(0%, 79.5%, 38.4%, 40.8%)
CIE-LABlab(34.70, 53.02, -6.19)
CIE-LCHlch(34.70, 53.38, 353.34°)
OKLaboklab(45.87% 0.163 -0.0157)
OKLCHoklch(45.87% 0.164 354.5)
XYZxyz(15.2293, 8.3515, 11.1638)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F5D #1F9759
analogous
#951F97 #971F5D #971F21
triadic
#971F5D #5D971F #1F5D97
tetradic
#971F5D #97951F #1F9759 #1F2197
square
#971F5D #97951F #1F9759 #1F2197
split-complementary
#971F5D #21971F #1F9795
monochromatic
#310A1E #64153E #971F5D #CA297C #DC549A

Accessibility & contrast

On white

7.87
#971F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#971F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F5D
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F5D#FFFFFF#000000##FFFFFF
##971F5D1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38445F
Deuteranopia (green-blind)
#595A5A
Tritanopia (blue-blind)
#A30F3B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #971f5d;
/* rgb */ color: rgb(151, 31, 93);
/* oklch */ color: oklch(45.9% 0.164 354.5);
Tailwind
colors: {
  custom: {
    50: '#ba688a',
    500: '#971f5d',
    950: '#000000',
  },
}
SCSS
$custom: #971f5d;
$custom-light: #ba688a;
$custom-dark: #000000;
JSON
{
  "hex": "#971f5d",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 329,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45873,
    "c": 0.1637,
    "h": 354.5
  },
  "luminance": 0.0835
}

Semantic roles & 50–950 ramp

primary
#971F5D
secondary
#52BF87
accent
#E9913F
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #971F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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