#971F5C#971F5C

#971F5C is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.163 H 355.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#971F5C
RGBrgb(151, 31, 92)
HSLhsl(330, 66%, 36%)
HSVhsv(330, 79%, 59%)
CMYKcmyk(0%, 79.5%, 39.1%, 40.8%)
CIE-LABlab(34.67, 52.91, -5.60)
CIE-LCHlch(34.67, 53.20, 353.96°)
OKLaboklab(45.84% 0.1627 -0.0141)
OKLCHoklch(45.84% 0.163 355)
XYZxyz(15.1853, 8.3339, 10.9321)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F5C #1F975A
analogous
#961F97 #971F5C #971F20
triadic
#971F5C #5C971F #1F5C97
tetradic
#971F5C #97961F #1F975A #1F2097
square
#971F5C #97961F #1F975A #1F2097
split-complementary
#971F5C #20971F #1F9796
monochromatic
#310A1E #64153D #971F5C #CA297B #DC5499

Accessibility & contrast

On white

7.88
#971F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#971F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F5C
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F5C#FFFFFF#000000##FFFFFF
##971F5C1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38435E
Deuteranopia (green-blind)
#5A5959
Tritanopia (blue-blind)
#A30E3B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #971f5c;
/* rgb */ color: rgb(151, 31, 92);
/* oklch */ color: oklch(45.8% 0.163 355.0);
Tailwind
colors: {
  custom: {
    50: '#ba688a',
    500: '#971f5c',
    950: '#000000',
  },
}
SCSS
$custom: #971f5c;
$custom-light: #ba688a;
$custom-dark: #000000;
JSON
{
  "hex": "#971f5c",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 92
  },
  "hsl": {
    "h": 329.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45835,
    "c": 0.16326,
    "h": 355
  },
  "luminance": 0.08332
}

Semantic roles & 50–950 ramp

primary
#971F5C
secondary
#52BF88
accent
#E9923F
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #971F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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