#971A5E#971A5E

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

Color values

HEX#971A5E
RGBrgb(151, 26, 94)
HSLhsl(327, 71%, 35%)
HSVhsv(327, 83%, 59%)
CMYKcmyk(0%, 82.8%, 37.7%, 40.8%)
CIE-LABlab(34.25, 54.53, -7.51)
CIE-LCHlch(34.25, 55.05, 352.15°)
OKLaboklab(45.55% 0.1677 -0.0192)
OKLCHoklch(45.55% 0.169 353.5)
XYZxyz(15.1533, 8.1282, 11.3584)
Luminance0.0813 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A5E #1A9753
analogous
#921A97 #971A5E #971A20
triadic
#971A5E #5E971A #1A5E97
tetradic
#971A5E #97921A #1A9753 #1A2097
square
#971A5E #97921A #1A9753 #1A2097
split-complementary
#971A5E #20971A #1A9792
monochromatic
#2F081D #63113D #971A5E #CB237F #E04B9C

Accessibility & contrast

On white

8.00
#971A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971A5E
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A5E#FFFFFF#000000##FFFFFF
##971A5E1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971a5e;
/* rgb */ color: rgb(151, 26, 94);
/* oklch */ color: oklch(45.6% 0.169 353.5);
Tailwind
colors: {
  custom: {
    50: '#ba668b',
    500: '#971a5e',
    950: '#000000',
  },
}
SCSS
$custom: #971a5e;
$custom-light: #ba668b;
$custom-dark: #000000;
JSON
{
  "hex": "#971a5e",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 94
  },
  "hsl": {
    "h": 327.36,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45552,
    "c": 0.16881,
    "h": 353.5
  },
  "luminance": 0.08126
}

Semantic roles & 50–950 ramp

primary
#971A5E
secondary
#4BC281
accent
#ED8C3A
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #971A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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