#971A5C#971A5C

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

Color values

HEX#971A5C
RGBrgb(151, 26, 92)
HSLhsl(328, 71%, 35%)
HSVhsv(328, 83%, 59%)
CMYKcmyk(0%, 82.8%, 39.1%, 40.8%)
CIE-LABlab(34.18, 54.32, -6.33)
CIE-LCHlch(34.18, 54.68, 353.35°)
OKLaboklab(45.48% 0.1671 -0.016)
OKLCHoklch(45.48% 0.168 354.5)
XYZxyz(15.0647, 8.0927, 10.8919)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A5C #1A9755
analogous
#941A97 #971A5C #971A1E
triadic
#971A5C #5C971A #1A5C97
tetradic
#971A5C #97941A #1A9755 #1A1E97
square
#971A5C #97941A #1A9755 #1A1E97
split-complementary
#971A5C #1E971A #1A9794
monochromatic
#2F081C #63113C #971A5C #CB237C #E04B9A

Accessibility & contrast

On white

8.02
#971A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971A5C
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A5C#FFFFFF#000000##FFFFFF
##971A5C1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35425E
Deuteranopia (green-blind)
#585859
Tritanopia (blue-blind)
#A30439
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #971a5c;
/* rgb */ color: rgb(151, 26, 92);
/* oklch */ color: oklch(45.5% 0.168 354.5);
Tailwind
colors: {
  custom: {
    50: '#bb668a',
    500: '#971a5c',
    950: '#000000',
  },
}
SCSS
$custom: #971a5c;
$custom-light: #bb668a;
$custom-dark: #000000;
JSON
{
  "hex": "#971a5c",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 92
  },
  "hsl": {
    "h": 328.32,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45475,
    "c": 0.16791,
    "h": 354.5
  },
  "luminance": 0.08091
}

Semantic roles & 50–950 ramp

primary
#971A5C
secondary
#4BC283
accent
#ED8F3A
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #971A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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