#971B4A#971B4A

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

Color values

HEX#971B4A
RGBrgb(151, 27, 74)
HSLhsl(337, 70%, 35%)
HSVhsv(337, 82%, 59%)
CMYKcmyk(0%, 82.1%, 51%, 40.8%)
CIE-LABlab(33.69, 52.32, 4.66)
CIE-LCHlch(33.69, 52.53, 5.09°)
OKLaboklab(44.93% 0.1603 0.0124)
OKLCHoklch(44.93% 0.161 4.4)
XYZxyz(14.3918, 7.8596, 7.2365)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B4A #1B9768
analogous
#971B88 #971B4A #972A1B
triadic
#971B4A #4A971B #1B4A97
tetradic
#971B4A #88971B #1B9768 #2A1B97
square
#971B4A #88971B #1B9768 #2A1B97
split-complementary
#971B4A #1B972A #1B8897
monochromatic
#2F0817 #631231 #971B4A #CB2463 #DF4D85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##971B4A#FFFFFF#000000##FFFFFF
##971B4A1.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)
#3C404B
Deuteranopia (green-blind)
#5C5847
Tritanopia (blue-blind)
#A50030
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #971b4a;
/* rgb */ color: rgb(151, 27, 74);
/* oklch */ color: oklch(44.9% 0.161 4.4);
Tailwind
colors: {
  custom: {
    50: '#bb667c',
    500: '#971b4a',
    950: '#000000',
  },
}
SCSS
$custom: #971b4a;
$custom-light: #bb667c;
$custom-dark: #000000;
JSON
{
  "hex": "#971b4a",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 74
  },
  "hsl": {
    "h": 337.258,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4493,
    "c": 0.16073,
    "h": 4.4
  },
  "luminance": 0.07858
}

Semantic roles & 50–950 ramp

primary
#971B4A
secondary
#4CC195
accent
#ECA93B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #971B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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