#971E5F#971E5F

#971E5F is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.166 H 353.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#971E5F
RGBrgb(151, 30, 95)
HSLhsl(328, 67%, 35%)
HSVhsv(328, 80%, 59%)
CMYKcmyk(0%, 80.1%, 37.1%, 40.8%)
CIE-LABlab(34.67, 53.53, -7.52)
CIE-LCHlch(34.67, 54.06, 352.00°)
OKLaboklab(45.87% 0.1645 -0.0192)
OKLCHoklch(45.87% 0.166 353.3)
XYZxyz(15.2933, 8.3360, 11.6279)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E5F #1E9756
analogous
#931E97 #971E5F #971E22
triadic
#971E5F #5F971E #1E5F97
tetradic
#971E5F #97931E #1E9756 #1E2297
square
#971E5F #97931E #1E9756 #1E2297
split-complementary
#971E5F #22971E #1E9793
monochromatic
#310A1F #64143F #971E5F #CA287F #DD539D

Accessibility & contrast

On white

7.87
#971E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971E5F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971E5F#FFFFFF#000000##FFFFFF
##971E5F1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364461
Deuteranopia (green-blind)
#59595C
Tritanopia (blue-blind)
#A30F3C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #971e5f;
/* rgb */ color: rgb(151, 30, 95);
/* oklch */ color: oklch(45.9% 0.166 353.3);
Tailwind
colors: {
  custom: {
    50: '#ba688c',
    500: '#971e5f',
    950: '#000000',
  },
}
SCSS
$custom: #971e5f;
$custom-light: #ba688c;
$custom-dark: #000000;
JSON
{
  "hex": "#971e5f",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 95
  },
  "hsl": {
    "h": 327.769,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45874,
    "c": 0.16559,
    "h": 353.3
  },
  "luminance": 0.08334
}

Semantic roles & 50–950 ramp

primary
#971E5F
secondary
#51C084
accent
#EA8E3E
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #971E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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