#971C54#971C54

#971C54 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.163 H 359.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#971C54
RGBrgb(151, 28, 84)
HSLhsl(333, 69%, 35%)
HSVhsv(333, 81%, 59%)
CMYKcmyk(0%, 81.5%, 44.4%, 40.8%)
CIE-LABlab(34.09, 52.96, -1.28)
CIE-LCHlch(34.09, 52.98, 358.62°)
OKLaboklab(45.32% 0.1629 -0.0027)
OKLCHoklch(45.32% 0.163 359)
XYZxyz(14.7791, 8.0519, 9.1617)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C54 #1C975F
analogous
#971C91 #971C54 #97221C
triadic
#971C54 #54971C #1C5497
tetradic
#971C54 #91971C #1C975F #221C97
square
#971C54 #91971C #1C975F #221C97
split-complementary
#971C54 #1C9722 #1C9197
monochromatic
#30091B #631237 #971C54 #CB2671 #DE4F90

Accessibility & contrast

On white

8.05
#971C54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#971C54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C54
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C54#FFFFFF#000000##FFFFFF
##971C541.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394155
Deuteranopia (green-blind)
#5B5851
Tritanopia (blue-blind)
#A40036
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #971c54;
/* rgb */ color: rgb(151, 28, 84);
/* oklch */ color: oklch(45.3% 0.163 359.0);
Tailwind
colors: {
  custom: {
    50: '#bb6784',
    500: '#971c54',
    950: '#000000',
  },
}
SCSS
$custom: #971c54;
$custom-light: #bb6784;
$custom-dark: #000000;
JSON
{
  "hex": "#971c54",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 84
  },
  "hsl": {
    "h": 332.683,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45324,
    "c": 0.16292,
    "h": 359
  },
  "luminance": 0.0805
}

Semantic roles & 50–950 ramp

primary
#971C54
secondary
#4EC18D
accent
#EC9C3C
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #971C54

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

Preview Lab → · Contrast checker → · Palette generator →

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