#971D5B#971D5B

#971D5B is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.165 H 355.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#971D5B
RGBrgb(151, 29, 91)
HSLhsl(330, 68%, 35%)
HSVhsv(330, 81%, 59%)
CMYKcmyk(0%, 80.8%, 39.7%, 40.8%)
CIE-LABlab(34.43, 53.39, -5.31)
CIE-LCHlch(34.43, 53.65, 354.32°)
OKLaboklab(45.65% 0.1642 -0.0133)
OKLCHoklch(45.65% 0.165 355.4)
XYZxyz(15.0913, 8.2153, 10.6865)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D5B #1D9759
analogous
#961D97 #971D5B #971D1E
triadic
#971D5B #5B971D #1D5B97
tetradic
#971D5B #97961D #1D9759 #1D1E97
square
#971D5B #97961D #1D9759 #1D1E97
split-complementary
#971D5B #1E971D #1D9796
monochromatic
#30091D #64133C #971D5B #CA277A #DE5198

Accessibility & contrast

On white

7.95
#971D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971D5B
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D5B#FFFFFF#000000##FFFFFF
##971D5B1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37435D
Deuteranopia (green-blind)
#595958
Tritanopia (blue-blind)
#A4093A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #971d5b;
/* rgb */ color: rgb(151, 29, 91);
/* oklch */ color: oklch(45.6% 0.165 355.4);
Tailwind
colors: {
  custom: {
    50: '#bb6789',
    500: '#971d5b',
    950: '#000000',
  },
}
SCSS
$custom: #971d5b;
$custom-light: #bb6789;
$custom-dark: #000000;
JSON
{
  "hex": "#971d5b",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 91
  },
  "hsl": {
    "h": 329.508,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45647,
    "c": 0.16476,
    "h": 355.4
  },
  "luminance": 0.08213
}

Semantic roles & 50–950 ramp

primary
#971D5B
secondary
#4FC087
accent
#EB923D
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #971D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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