#971A6D#971A6D

#971A6D is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.2% C 0.177 H 345.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#971A6D
RGBrgb(151, 26, 109)
HSLhsl(320, 71%, 35%)
HSVhsv(320, 83%, 59%)
CMYKcmyk(0%, 82.8%, 27.8%, 40.8%)
CIE-LABlab(34.85, 56.28, -16.20)
CIE-LCHlch(34.85, 58.56, 343.94°)
OKLaboklab(46.19% 0.1713 -0.043)
OKLCHoklch(46.19% 0.177 345.9)
XYZxyz(15.8930, 8.4240, 15.2541)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A6D #1A9744
analogous
#831A97 #971A6D #971A2F
triadic
#971A6D #6D971A #1A6D97
tetradic
#971A6D #97831A #1A9744 #1A2F97
square
#971A6D #97831A #1A9744 #1A2F97
split-complementary
#971A6D #2F971A #1A9783
monochromatic
#2F0822 #631147 #971A6D #CB2393 #E04BAE

Accessibility & contrast

On white

7.82
#971A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#971A6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A6D
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A6D#FFFFFF#000000##FFFFFF
##971A6D1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D456F
Deuteranopia (green-blind)
#54596A
Tritanopia (blue-blind)
#A21642
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #971a6d;
/* rgb */ color: rgb(151, 26, 109);
/* oklch */ color: oklch(46.2% 0.177 345.9);
Tailwind
colors: {
  custom: {
    50: '#ba6797',
    500: '#971a6d',
    950: '#000000',
  },
}
SCSS
$custom: #971a6d;
$custom-light: #ba6797;
$custom-dark: #000000;
JSON
{
  "hex": "#971a6d",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 109
  },
  "hsl": {
    "h": 320.16,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46186,
    "c": 0.17658,
    "h": 345.9
  },
  "luminance": 0.08422
}

Semantic roles & 50–950 ramp

primary
#971A6D
secondary
#4BC273
accent
#ED773A
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #971A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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