#971F5F#971F5F

#971F5F is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.165 H 353.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#971F5F
RGBrgb(151, 31, 95)
HSLhsl(328, 66%, 36%)
HSVhsv(328, 79%, 59%)
CMYKcmyk(0%, 79.5%, 37.1%, 40.8%)
CIE-LABlab(34.78, 53.24, -7.36)
CIE-LCHlch(34.78, 53.74, 352.12°)
OKLaboklab(45.95% 0.1635 -0.0188)
OKLCHoklch(45.95% 0.165 353.4)
XYZxyz(15.3190, 8.3874, 11.6365)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F5F #1F9757
analogous
#931F97 #971F5F #971F23
triadic
#971F5F #5F971F #1F5F97
tetradic
#971F5F #97931F #1F9757 #1F2397
square
#971F5F #97931F #1F9757 #1F2397
split-complementary
#971F5F #23971F #1F9793
monochromatic
#310A1F #64153F #971F5F #CA297F #DC549D

Accessibility & contrast

On white

7.84
#971F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#971F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F5F
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F5F#FFFFFF#000000##FFFFFF
##971F5F1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374461
Deuteranopia (green-blind)
#595A5C
Tritanopia (blue-blind)
#A3103C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #971f5f;
/* rgb */ color: rgb(151, 31, 95);
/* oklch */ color: oklch(45.9% 0.165 353.4);
Tailwind
colors: {
  custom: {
    50: '#ba688c',
    500: '#971f5f',
    950: '#000000',
  },
}
SCSS
$custom: #971f5f;
$custom-light: #ba688c;
$custom-dark: #000000;
JSON
{
  "hex": "#971f5f",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 95
  },
  "hsl": {
    "h": 328,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45949,
    "c": 0.16461,
    "h": 353.4
  },
  "luminance": 0.08386
}

Semantic roles & 50–950 ramp

primary
#971F5F
secondary
#52BF85
accent
#E98E3F
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #971F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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