#971B5F#971B5F

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

Color values

HEX#971B5F
RGBrgb(151, 27, 95)
HSLhsl(327, 70%, 35%)
HSVhsv(327, 82%, 59%)
CMYKcmyk(0%, 82.1%, 37.1%, 40.8%)
CIE-LABlab(34.38, 54.37, -7.96)
CIE-LCHlch(34.38, 54.95, 351.67°)
OKLaboklab(45.66% 0.1671 -0.0204)
OKLCHoklch(45.66% 0.168 353)
XYZxyz(15.2210, 8.1913, 11.6038)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B5F #1B9753
analogous
#911B97 #971B5F #971B21
triadic
#971B5F #5F971B #1B5F97
tetradic
#971B5F #97911B #1B9753 #1B2197
square
#971B5F #97911B #1B9753 #1B2197
split-complementary
#971B5F #21971B #1B9791
monochromatic
#2F081E #63123E #971B5F #CB2480 #DF4D9D

Accessibility & contrast

On white

7.96
#971B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#971B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B5F
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B5F#FFFFFF#000000##FFFFFF
##971B5F1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354361
Deuteranopia (green-blind)
#58595C
Tritanopia (blue-blind)
#A3093B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #971b5f;
/* rgb */ color: rgb(151, 27, 95);
/* oklch */ color: oklch(45.7% 0.168 353.0);
Tailwind
colors: {
  custom: {
    50: '#ba678c',
    500: '#971b5f',
    950: '#000000',
  },
}
SCSS
$custom: #971b5f;
$custom-light: #ba678c;
$custom-dark: #000000;
JSON
{
  "hex": "#971b5f",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 95
  },
  "hsl": {
    "h": 327.097,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45659,
    "c": 0.16838,
    "h": 353
  },
  "luminance": 0.08189
}

Semantic roles & 50–950 ramp

primary
#971B5F
secondary
#4CC181
accent
#EC8B3B
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #971B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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