#971B5E#971B5E

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

Color values

HEX#971B5E
RGBrgb(151, 27, 94)
HSLhsl(328, 70%, 35%)
HSVhsv(328, 82%, 59%)
CMYKcmyk(0%, 82.1%, 37.7%, 40.8%)
CIE-LABlab(34.34, 54.26, -7.37)
CIE-LCHlch(34.34, 54.76, 352.26°)
OKLaboklab(45.62% 0.1669 -0.0188)
OKLCHoklch(45.62% 0.168 353.6)
XYZxyz(15.1758, 8.1733, 11.3659)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B5E #1B9754
analogous
#921B97 #971B5E #971B20
triadic
#971B5E #5E971B #1B5E97
tetradic
#971B5E #97921B #1B9754 #1B2097
square
#971B5E #97921B #1B9754 #1B2097
split-complementary
#971B5E #20971B #1B9792
monochromatic
#2F081D #63123E #971B5E #CB247E #DF4D9C

Accessibility & contrast

On white

7.97
#971B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971B5E
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B5E#FFFFFF#000000##FFFFFF
##971B5E1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354260
Deuteranopia (green-blind)
#58595B
Tritanopia (blue-blind)
#A3083B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #971b5e;
/* rgb */ color: rgb(151, 27, 94);
/* oklch */ color: oklch(45.6% 0.168 353.6);
Tailwind
colors: {
  custom: {
    50: '#ba678b',
    500: '#971b5e',
    950: '#000000',
  },
}
SCSS
$custom: #971b5e;
$custom-light: #ba678b;
$custom-dark: #000000;
JSON
{
  "hex": "#971b5e",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 94
  },
  "hsl": {
    "h": 327.581,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4562,
    "c": 0.16792,
    "h": 353.6
  },
  "luminance": 0.08171
}

Semantic roles & 50–950 ramp

primary
#971B5E
secondary
#4CC182
accent
#EC8D3B
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #971B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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