#971C5B#971C5B

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

Color values

HEX#971C5B
RGBrgb(151, 28, 91)
HSLhsl(329, 69%, 35%)
HSVhsv(329, 81%, 59%)
CMYKcmyk(0%, 81.5%, 39.7%, 40.8%)
CIE-LABlab(34.33, 53.67, -5.46)
CIE-LCHlch(34.33, 53.95, 354.19°)
OKLaboklab(45.58% 0.1651 -0.0137)
OKLCHoklch(45.58% 0.166 355.3)
XYZxyz(15.0671, 8.1671, 10.6785)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C5B #1C9758
analogous
#951C97 #971C5B #971C1E
triadic
#971C5B #5B971C #1C5B97
tetradic
#971C5B #97951C #1C9758 #1C1E97
square
#971C5B #97951C #1C9758 #1C1E97
split-complementary
#971C5B #1E971C #1C9795
monochromatic
#30091D #63123C #971C5B #CB267A #DE4F98

Accessibility & contrast

On white

7.98
#971C5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971C5B
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C5B#FFFFFF#000000##FFFFFF
##971C5B1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971c5b;
/* rgb */ color: rgb(151, 28, 91);
/* oklch */ color: oklch(45.6% 0.166 355.3);
Tailwind
colors: {
  custom: {
    50: '#bb6789',
    500: '#971c5b',
    950: '#000000',
  },
}
SCSS
$custom: #971c5b;
$custom-light: #bb6789;
$custom-dark: #000000;
JSON
{
  "hex": "#971c5b",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 91
  },
  "hsl": {
    "h": 329.268,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45575,
    "c": 0.16569,
    "h": 355.3
  },
  "luminance": 0.08165
}

Semantic roles & 50–950 ramp

primary
#971C5B
secondary
#4EC186
accent
#EC923C
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #971C5B

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

Preview Lab → · Contrast checker → · Palette generator →

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