#971A5B#971A5B

#971A5B is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.167 H 355.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#971A5B
RGBrgb(151, 26, 91)
HSLhsl(329, 71%, 35%)
HSVhsv(329, 83%, 59%)
CMYKcmyk(0%, 82.8%, 39.7%, 40.8%)
CIE-LABlab(34.14, 54.21, -5.74)
CIE-LCHlch(34.14, 54.51, 353.96°)
OKLaboklab(45.44% 0.1669 -0.0145)
OKLCHoklch(45.44% 0.167 355)
XYZxyz(15.0213, 8.0754, 10.6632)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A5B #1A9756
analogous
#951A97 #971A5B #971A1D
triadic
#971A5B #5B971A #1A5B97
tetradic
#971A5B #97951A #1A9756 #1A1D97
square
#971A5B #97951A #1A9756 #1A1D97
split-complementary
#971A5B #1D971A #1A9795
monochromatic
#2F081C #63113C #971A5B #CB237A #E04B99

Accessibility & contrast

On white

8.03
#971A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#971A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A5B
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A5B#FFFFFF#000000##FFFFFF
##971A5B1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36425D
Deuteranopia (green-blind)
#585858
Tritanopia (blue-blind)
#A40339
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #971a5b;
/* rgb */ color: rgb(151, 26, 91);
/* oklch */ color: oklch(45.4% 0.167 355.0);
Tailwind
colors: {
  custom: {
    50: '#bb6689',
    500: '#971a5b',
    950: '#000000',
  },
}
SCSS
$custom: #971a5b;
$custom-light: #bb6689;
$custom-dark: #000000;
JSON
{
  "hex": "#971a5b",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 91
  },
  "hsl": {
    "h": 328.8,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45437,
    "c": 0.16748,
    "h": 355
  },
  "luminance": 0.08073
}

Semantic roles & 50–950 ramp

primary
#971A5B
secondary
#4BC284
accent
#ED903A
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #971A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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