#971E5B#971E5B

#971E5B is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.164 H 355.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#971E5B
RGBrgb(151, 30, 91)
HSLhsl(330, 67%, 35%)
HSVhsv(330, 80%, 59%)
CMYKcmyk(0%, 80.1%, 39.7%, 40.8%)
CIE-LABlab(34.53, 53.10, -5.16)
CIE-LCHlch(34.53, 53.35, 354.45°)
OKLaboklab(45.72% 0.1633 -0.0129)
OKLCHoklch(45.72% 0.164 355.5)
XYZxyz(15.1162, 8.2651, 10.6948)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E5B #1E975A
analogous
#961E97 #971E5B #971E1E
triadic
#971E5B #5B971E #1E5B97
tetradic
#971E5B #97961E #1E975A #1E1E97
square
#971E5B #97961E #1E975A #1E1E97
split-complementary
#971E5B #1E971E #1E9796
monochromatic
#310A1D #64143C #971E5B #CA287A #DD5398

Accessibility & contrast

On white

7.92
#971E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971E5B
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971E5B#FFFFFF#000000##FFFFFF
##971E5B1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38435C
Deuteranopia (green-blind)
#595958
Tritanopia (blue-blind)
#A40B3A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #971e5b;
/* rgb */ color: rgb(151, 30, 91);
/* oklch */ color: oklch(45.7% 0.164 355.5);
Tailwind
colors: {
  custom: {
    50: '#ba6889',
    500: '#971e5b',
    950: '#000000',
  },
}
SCSS
$custom: #971e5b;
$custom-light: #ba6889;
$custom-dark: #000000;
JSON
{
  "hex": "#971e5b",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 91
  },
  "hsl": {
    "h": 329.752,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45721,
    "c": 0.16381,
    "h": 355.5
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#971E5B
secondary
#51C088
accent
#EA933E
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #971E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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