#971A4D#971A4D

#971A4D is a dark, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.162 H 2.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#971A4D
RGBrgb(151, 26, 77)
HSLhsl(336, 71%, 35%)
HSVhsv(336, 83%, 59%)
CMYKcmyk(0%, 82.8%, 49%, 40.8%)
CIE-LABlab(33.68, 52.86, 2.69)
CIE-LCHlch(33.68, 52.92, 2.91°)
OKLaboklab(44.95% 0.1622 0.0074)
OKLCHoklch(44.95% 0.162 2.6)
XYZxyz(14.4727, 7.8559, 7.7740)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A4D #1A9764
analogous
#971A8C #971A4D #97261A
triadic
#971A4D #4D971A #1A4D97
tetradic
#971A4D #8C971A #1A9764 #261A97
square
#971A4D #8C971A #1A9764 #261A97
split-complementary
#971A4D #1A9726 #1A8C97
monochromatic
#2F0818 #631132 #971A4D #CB2368 #E04B88

Accessibility & contrast

On white

8.17
#971A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#971A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A4D
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A4D#FFFFFF#000000##FFFFFF
##971A4D1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A404E
Deuteranopia (green-blind)
#5B584A
Tritanopia (blue-blind)
#A50031
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #971a4d;
/* rgb */ color: rgb(151, 26, 77);
/* oklch */ color: oklch(45.0% 0.162 2.6);
Tailwind
colors: {
  custom: {
    50: '#bb667e',
    500: '#971a4d',
    950: '#000000',
  },
}
SCSS
$custom: #971a4d;
$custom-light: #bb667e;
$custom-dark: #000000;
JSON
{
  "hex": "#971a4d",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 77
  },
  "hsl": {
    "h": 335.52,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44952,
    "c": 0.1624,
    "h": 2.6
  },
  "luminance": 0.07854
}

Semantic roles & 50–950 ramp

primary
#971A4D
secondary
#4BC291
accent
#EDA43A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #971A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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