#971A5F#971A5F

#971A5F is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.6% C 0.169 H 352.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#971A5F
RGBrgb(151, 26, 95)
HSLhsl(327, 71%, 35%)
HSVhsv(327, 83%, 59%)
CMYKcmyk(0%, 82.8%, 37.1%, 40.8%)
CIE-LABlab(34.29, 54.64, -8.10)
CIE-LCHlch(34.29, 55.24, 351.57°)
OKLaboklab(45.59% 0.168 -0.0208)
OKLCHoklch(45.59% 0.169 352.9)
XYZxyz(15.1985, 8.1462, 11.5963)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A5F #1A9752
analogous
#911A97 #971A5F #971A21
triadic
#971A5F #5F971A #1A5F97
tetradic
#971A5F #97911A #1A9752 #1A2197
square
#971A5F #97911A #1A9752 #1A2197
split-complementary
#971A5F #21971A #1A9791
monochromatic
#2F081D #63113E #971A5F #CB2380 #E04B9D

Accessibility & contrast

On white

7.99
#971A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971A5F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A5F#FFFFFF#000000##FFFFFF
##971A5F1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971a5f;
/* rgb */ color: rgb(151, 26, 95);
/* oklch */ color: oklch(45.6% 0.169 352.9);
Tailwind
colors: {
  custom: {
    50: '#ba668c',
    500: '#971a5f',
    950: '#000000',
  },
}
SCSS
$custom: #971a5f;
$custom-light: #ba668c;
$custom-dark: #000000;
JSON
{
  "hex": "#971a5f",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 326.88,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45591,
    "c": 0.16927,
    "h": 352.9
  },
  "luminance": 0.08144
}

Semantic roles & 50–950 ramp

primary
#971A5F
secondary
#4BC280
accent
#ED8B3A
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #971A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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