#971A63#971A63

#971A63 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.8% C 0.171 H 350.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#971A63
RGBrgb(151, 26, 99)
HSLhsl(325, 71%, 35%)
HSVhsv(325, 83%, 59%)
CMYKcmyk(0%, 82.8%, 34.4%, 40.8%)
CIE-LABlab(34.44, 55.09, -10.44)
CIE-LCHlch(34.44, 56.07, 349.27°)
OKLaboklab(45.75% 0.169 -0.0271)
OKLCHoklch(45.75% 0.171 350.9)
XYZxyz(15.3850, 8.2208, 12.5786)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A63 #1A974E
analogous
#8D1A97 #971A63 #971A25
triadic
#971A63 #63971A #1A6397
tetradic
#971A63 #978D1A #1A974E #1A2597
square
#971A63 #978D1A #1A974E #1A2597
split-complementary
#971A63 #25971A #1A978D
monochromatic
#2F081F #631141 #971A63 #CB2385 #E04BA2

Accessibility & contrast

On white

7.94
#971A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971A63
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A63#FFFFFF#000000##FFFFFF
##971A631.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324365
Deuteranopia (green-blind)
#565960
Tritanopia (blue-blind)
#A30C3D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #971a63;
/* rgb */ color: rgb(151, 26, 99);
/* oklch */ color: oklch(45.8% 0.171 350.9);
Tailwind
colors: {
  custom: {
    50: '#ba678f',
    500: '#971a63',
    950: '#000000',
  },
}
SCSS
$custom: #971a63;
$custom-light: #ba678f;
$custom-dark: #000000;
JSON
{
  "hex": "#971a63",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 324.96,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45753,
    "c": 0.1712,
    "h": 350.9
  },
  "luminance": 0.08219
}

Semantic roles & 50–950 ramp

primary
#971A63
secondary
#4BC27C
accent
#ED853A
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #971A63

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

Preview Lab → · Contrast checker → · Palette generator →

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