#971B5D#971B5D

#971B5D is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.167 H 354.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#971B5D
RGBrgb(151, 27, 93)
HSLhsl(328, 70%, 35%)
HSVhsv(328, 82%, 59%)
CMYKcmyk(0%, 82.1%, 38.4%, 40.8%)
CIE-LABlab(34.30, 54.16, -6.79)
CIE-LCHlch(34.30, 54.58, 352.86°)
OKLaboklab(45.58% 0.1666 -0.0173)
OKLCHoklch(45.58% 0.167 354.1)
XYZxyz(15.1313, 8.1554, 11.1312)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B5D #1B9755
analogous
#931B97 #971B5D #971B1F
triadic
#971B5D #5D971B #1B5D97
tetradic
#971B5D #97931B #1B9755 #1B1F97
square
#971B5D #97931B #1B9755 #1B1F97
split-complementary
#971B5D #1F971B #1B9793
monochromatic
#2F081D #63123D #971B5D #CB247D #DF4D9B

Accessibility & contrast

On white

7.98
#971B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#971B5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B5D
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B5D#FFFFFF#000000##FFFFFF
##971B5D1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35425F
Deuteranopia (green-blind)
#58595A
Tritanopia (blue-blind)
#A3073A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #971b5d;
/* rgb */ color: rgb(151, 27, 93);
/* oklch */ color: oklch(45.6% 0.167 354.1);
Tailwind
colors: {
  custom: {
    50: '#ba678a',
    500: '#971b5d',
    950: '#000000',
  },
}
SCSS
$custom: #971b5d;
$custom-light: #ba678a;
$custom-dark: #000000;
JSON
{
  "hex": "#971b5d",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 93
  },
  "hsl": {
    "h": 328.065,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45581,
    "c": 0.16747,
    "h": 354.1
  },
  "luminance": 0.08153
}

Semantic roles & 50–950 ramp

primary
#971B5D
secondary
#4CC183
accent
#EC8E3B
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #971B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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