#971C4F#971C4F

#971C4F is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.161 H 1.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#971C4F
RGBrgb(151, 28, 79)
HSLhsl(335, 69%, 35%)
HSVhsv(335, 81%, 59%)
CMYKcmyk(0%, 81.5%, 47.7%, 40.8%)
CIE-LABlab(33.93, 52.49, 1.75)
CIE-LCHlch(33.93, 52.52, 1.91°)
OKLaboklab(45.16% 0.1612 0.0051)
OKLCHoklch(45.16% 0.161 1.8)
XYZxyz(14.5903, 7.9763, 8.1669)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C4F #1C9764
analogous
#971C8C #971C4F #97271C
triadic
#971C4F #4F971C #1C4F97
tetradic
#971C4F #8C971C #1C9764 #271C97
square
#971C4F #8C971C #1C9764 #271C97
split-complementary
#971C4F #1C9727 #1C8C97
monochromatic
#300919 #631234 #971C4F #CB266A #DE4F8A

Accessibility & contrast

On white

8.09
#971C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#971C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C4F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C4F#FFFFFF#000000##FFFFFF
##971C4F1.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4150
Deuteranopia (green-blind)
#5C584C
Tritanopia (blue-blind)
#A40033
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #971c4f;
/* rgb */ color: rgb(151, 28, 79);
/* oklch */ color: oklch(45.2% 0.161 1.8);
Tailwind
colors: {
  custom: {
    50: '#bb6780',
    500: '#971c4f',
    950: '#000000',
  },
}
SCSS
$custom: #971c4f;
$custom-light: #bb6780;
$custom-dark: #000000;
JSON
{
  "hex": "#971c4f",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 79
  },
  "hsl": {
    "h": 335.122,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45157,
    "c": 0.16125,
    "h": 1.8
  },
  "luminance": 0.07974
}

Semantic roles & 50–950 ramp

primary
#971C4F
secondary
#4EC191
accent
#ECA33C
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #971C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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