#971B4C#971B4C

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

Color values

HEX#971B4C
RGBrgb(151, 27, 76)
HSLhsl(336, 70%, 35%)
HSVhsv(336, 82%, 59%)
CMYKcmyk(0%, 82.1%, 49.7%, 40.8%)
CIE-LABlab(33.75, 52.50, 3.43)
CIE-LCHlch(33.75, 52.61, 3.74°)
OKLaboklab(44.99% 0.161 0.0093)
OKLCHoklch(44.99% 0.161 3.3)
XYZxyz(14.4602, 7.8870, 7.5970)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B4C #1B9766
analogous
#971B8A #971B4C #97281B
triadic
#971B4C #4C971B #1B4C97
tetradic
#971B4C #8A971B #1B9766 #281B97
square
#971B4C #8A971B #1B9766 #281B97
split-complementary
#971B4C #1B9728 #1B8A97
monochromatic
#2F0818 #631232 #971B4C #CB2466 #DF4D87

Accessibility & contrast

On white

8.15
#971B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#971B4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B4C
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B4C#FFFFFF#000000##FFFFFF
##971B4C1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971b4c;
/* rgb */ color: rgb(151, 27, 76);
/* oklch */ color: oklch(45.0% 0.161 3.3);
Tailwind
colors: {
  custom: {
    50: '#bb667d',
    500: '#971b4c',
    950: '#000000',
  },
}
SCSS
$custom: #971b4c;
$custom-light: #bb667d;
$custom-dark: #000000;
JSON
{
  "hex": "#971b4c",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 76
  },
  "hsl": {
    "h": 336.29,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44991,
    "c": 0.16126,
    "h": 3.3
  },
  "luminance": 0.07885
}

Semantic roles & 50–950 ramp

primary
#971B4C
secondary
#4CC193
accent
#ECA63B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #971B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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