#971C5F#971C5F

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

Color values

HEX#971C5F
RGBrgb(151, 28, 95)
HSLhsl(327, 69%, 35%)
HSVhsv(327, 81%, 59%)
CMYKcmyk(0%, 81.5%, 37.1%, 40.8%)
CIE-LABlab(34.47, 54.10, -7.82)
CIE-LCHlch(34.47, 54.66, 351.78°)
OKLaboklab(45.73% 0.1663 -0.02)
OKLCHoklch(45.73% 0.167 353.1)
XYZxyz(15.2443, 8.2380, 11.6116)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C5F #1C9754
analogous
#911C97 #971C5F #971C22
triadic
#971C5F #5F971C #1C5F97
tetradic
#971C5F #97911C #1C9754 #1C2297
square
#971C5F #97911C #1C9754 #1C2297
split-complementary
#971C5F #22971C #1C9791
monochromatic
#30091E #63123F #971C5F #CB267F #DE4F9D

Accessibility & contrast

On white

7.93
#971C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#971C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C5F
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C5F#FFFFFF#000000##FFFFFF
##971C5F1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354361
Deuteranopia (green-blind)
#58595C
Tritanopia (blue-blind)
#A30B3B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #971c5f;
/* rgb */ color: rgb(151, 28, 95);
/* oklch */ color: oklch(45.7% 0.167 353.1);
Tailwind
colors: {
  custom: {
    50: '#ba678c',
    500: '#971c5f',
    950: '#000000',
  },
}
SCSS
$custom: #971c5f;
$custom-light: #ba678c;
$custom-dark: #000000;
JSON
{
  "hex": "#971c5f",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 95
  },
  "hsl": {
    "h": 327.317,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45728,
    "c": 0.16748,
    "h": 353.1
  },
  "luminance": 0.08236
}

Semantic roles & 50–950 ramp

primary
#971C5F
secondary
#4EC182
accent
#EC8C3C
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #971C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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