#971B47#971B47

#971B47 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.160 H 6.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#971B47
RGBrgb(151, 27, 71)
HSLhsl(339, 70%, 35%)
HSVhsv(339, 82%, 59%)
CMYKcmyk(0%, 82.1%, 53%, 40.8%)
CIE-LABlab(33.61, 52.07, 6.50)
CIE-LCHlch(33.61, 52.48, 7.12°)
OKLaboklab(44.84% 0.1591 0.0169)
OKLCHoklch(44.84% 0.16 6.1)
XYZxyz(14.2931, 7.8202, 6.7168)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B47 #1B976B
analogous
#971B85 #971B47 #972D1B
triadic
#971B47 #47971B #1B4797
tetradic
#971B47 #85971B #1B976B #2D1B97
square
#971B47 #85971B #1B976B #2D1B97
split-complementary
#971B47 #1B972D #1B8597
monochromatic
#2F0816 #63122F #971B47 #CB245F #DF4D81

Accessibility & contrast

On white

8.19
#971B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#971B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B47
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B47#FFFFFF#000000##FFFFFF
##971B471.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3F48
Deuteranopia (green-blind)
#5D5844
Tritanopia (blue-blind)
#A5002F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #971b47;
/* rgb */ color: rgb(151, 27, 71);
/* oklch */ color: oklch(44.8% 0.160 6.1);
Tailwind
colors: {
  custom: {
    50: '#bc6679',
    500: '#971b47',
    950: '#000000',
  },
}
SCSS
$custom: #971b47;
$custom-light: #bc6679;
$custom-dark: #000000;
JSON
{
  "hex": "#971b47",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 338.71,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44841,
    "c": 0.16001,
    "h": 6.1
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#971B47
secondary
#4CC198
accent
#ECAE3B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #971B47

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

Preview Lab → · Contrast checker → · Palette generator →

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