#971C5D#971C5D

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

Color values

HEX#971C5D
RGBrgb(151, 28, 93)
HSLhsl(328, 69%, 35%)
HSVhsv(328, 81%, 59%)
CMYKcmyk(0%, 81.5%, 38.4%, 40.8%)
CIE-LABlab(34.40, 53.88, -6.64)
CIE-LCHlch(34.40, 54.29, 352.97°)
OKLaboklab(45.65% 0.1657 -0.0169)
OKLCHoklch(45.65% 0.167 354.2)
XYZxyz(15.1546, 8.2021, 11.1389)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C5D #1C9756
analogous
#941C97 #971C5D #971C1F
triadic
#971C5D #5D971C #1C5D97
tetradic
#971C5D #97941C #1C9756 #1C1F97
square
#971C5D #97941C #1C9756 #1C1F97
split-complementary
#971C5D #1F971C #1C9794
monochromatic
#30091D #63123D #971C5D #CB267D #DE4F9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##971C5D#FFFFFF#000000##FFFFFF
##971C5D1.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)
#36435F
Deuteranopia (green-blind)
#58595A
Tritanopia (blue-blind)
#A3093A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #971c5d;
/* rgb */ color: rgb(151, 28, 93);
/* oklch */ color: oklch(45.7% 0.167 354.2);
Tailwind
colors: {
  custom: {
    50: '#ba678a',
    500: '#971c5d',
    950: '#000000',
  },
}
SCSS
$custom: #971c5d;
$custom-light: #ba678a;
$custom-dark: #000000;
JSON
{
  "hex": "#971c5d",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 93
  },
  "hsl": {
    "h": 328.293,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45651,
    "c": 0.16657,
    "h": 354.2
  },
  "luminance": 0.082
}

Semantic roles & 50–950 ramp

primary
#971C5D
secondary
#4EC184
accent
#EC8F3C
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #971C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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