#971C5E#971C5E

#971C5E is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.167 H 353.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#971C5E
RGBrgb(151, 28, 94)
HSLhsl(328, 69%, 35%)
HSVhsv(328, 81%, 59%)
CMYKcmyk(0%, 81.5%, 37.7%, 40.8%)
CIE-LABlab(34.44, 53.99, -7.23)
CIE-LCHlch(34.44, 54.47, 352.37°)
OKLaboklab(45.69% 0.166 -0.0185)
OKLCHoklch(45.69% 0.167 353.7)
XYZxyz(15.1992, 8.2199, 11.3737)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C5E #1C9755
analogous
#931C97 #971C5E #971C20
triadic
#971C5E #5E971C #1C5E97
tetradic
#971C5E #97931C #1C9755 #1C2097
square
#971C5E #97931C #1C9755 #1C2097
split-complementary
#971C5E #20971C #1C9793
monochromatic
#30091E #63123E #971C5E #CB267E #DE4F9C

Accessibility & contrast

On white

7.94
#971C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971C5E
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C5E#FFFFFF#000000##FFFFFF
##971C5E1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364360
Deuteranopia (green-blind)
#58595B
Tritanopia (blue-blind)
#A30A3B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #971c5e;
/* rgb */ color: rgb(151, 28, 94);
/* oklch */ color: oklch(45.7% 0.167 353.7);
Tailwind
colors: {
  custom: {
    50: '#ba678b',
    500: '#971c5e',
    950: '#000000',
  },
}
SCSS
$custom: #971c5e;
$custom-light: #ba678b;
$custom-dark: #000000;
JSON
{
  "hex": "#971c5e",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 94
  },
  "hsl": {
    "h": 327.805,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45689,
    "c": 0.16701,
    "h": 353.7
  },
  "luminance": 0.08218
}

Semantic roles & 50–950 ramp

primary
#971C5E
secondary
#4EC183
accent
#EC8D3C
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #971C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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