#971A5D#971A5D

#971A5D is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.168 H 354.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#971A5D
RGBrgb(151, 26, 93)
HSLhsl(328, 71%, 35%)
HSVhsv(328, 83%, 59%)
CMYKcmyk(0%, 82.8%, 38.4%, 40.8%)
CIE-LABlab(34.21, 54.42, -6.92)
CIE-LCHlch(34.21, 54.86, 352.75°)
OKLaboklab(45.51% 0.1674 -0.0176)
OKLCHoklch(45.51% 0.168 354)
XYZxyz(15.1087, 8.1103, 11.1236)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A5D #1A9754
analogous
#931A97 #971A5D #971A1F
triadic
#971A5D #5D971A #1A5D97
tetradic
#971A5D #97931A #1A9754 #1A1F97
square
#971A5D #97931A #1A9754 #1A1F97
split-complementary
#971A5D #1F971A #1A9793
monochromatic
#2F081D #63113D #971A5D #CB237D #E04B9B

Accessibility & contrast

On white

8.01
#971A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#971A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A5D
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A5D#FFFFFF#000000##FFFFFF
##971A5D1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971a5d;
/* rgb */ color: rgb(151, 26, 93);
/* oklch */ color: oklch(45.5% 0.168 354.0);
Tailwind
colors: {
  custom: {
    50: '#bb668a',
    500: '#971a5d',
    950: '#000000',
  },
}
SCSS
$custom: #971a5d;
$custom-light: #bb668a;
$custom-dark: #000000;
JSON
{
  "hex": "#971a5d",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 327.84,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45513,
    "c": 0.16835,
    "h": 354
  },
  "luminance": 0.08108
}

Semantic roles & 50–950 ramp

primary
#971A5D
secondary
#4BC282
accent
#ED8D3A
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #971A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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