#971B45#971B45

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

Color values

HEX#971B45
RGBrgb(151, 27, 69)
HSLhsl(340, 70%, 35%)
HSVhsv(340, 82%, 59%)
CMYKcmyk(0%, 82.1%, 54.3%, 40.8%)
CIE-LABlab(33.55, 51.91, 7.74)
CIE-LCHlch(33.55, 52.48, 8.48°)
OKLaboklab(44.79% 0.1583 0.0199)
OKLCHoklch(44.79% 0.16 7.2)
XYZxyz(14.2300, 7.7949, 6.3843)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B45 #1B976D
analogous
#971B83 #971B45 #972F1B
triadic
#971B45 #45971B #1B4597
tetradic
#971B45 #83971B #1B976D #2F1B97
square
#971B45 #83971B #1B976D #2F1B97
split-complementary
#971B45 #1B972F #1B8397
monochromatic
#2F0816 #63122D #971B45 #CB245D #DF4D7F

Accessibility & contrast

On white

8.21
#971B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971B45
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B45#FFFFFF#000000##FFFFFF
##971B451.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3F46
Deuteranopia (green-blind)
#5D5842
Tritanopia (blue-blind)
#A5002E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #971b45;
/* rgb */ color: rgb(151, 27, 69);
/* oklch */ color: oklch(44.8% 0.160 7.2);
Tailwind
colors: {
  custom: {
    50: '#bc6678',
    500: '#971b45',
    950: '#000000',
  },
}
SCSS
$custom: #971b45;
$custom-light: #bc6678;
$custom-dark: #000000;
JSON
{
  "hex": "#971b45",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 339.677,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44785,
    "c": 0.15959,
    "h": 7.2
  },
  "luminance": 0.07793
}

Semantic roles & 50–950 ramp

primary
#971B45
secondary
#4CC19A
accent
#ECB03B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130608
muted
#827A7B

Preview Lab

Preview with #971B45

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

Preview Lab → · Contrast checker → · Palette generator →

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