#971A6B#971A6B

#971A6B is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.175 H 346.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#971A6B
RGBrgb(151, 26, 107)
HSLhsl(321, 71%, 35%)
HSVhsv(321, 83%, 59%)
CMYKcmyk(0%, 82.8%, 29.1%, 40.8%)
CIE-LABlab(34.77, 56.03, -15.06)
CIE-LCHlch(34.77, 58.02, 344.96°)
OKLaboklab(46.1% 0.1709 -0.0398)
OKLCHoklch(46.1% 0.175 346.9)
XYZxyz(15.7865, 8.3815, 14.6935)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A6B #1A9746
analogous
#851A97 #971A6B #971A2D
triadic
#971A6B #6B971A #1A6B97
tetradic
#971A6B #97851A #1A9746 #1A2D97
square
#971A6B #97851A #1A9746 #1A2D97
split-complementary
#971A6B #2D971A #1A9785
monochromatic
#2F0821 #631146 #971A6B #CB2390 #E04BAC

Accessibility & contrast

On white

7.85
#971A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971A6B
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A6B#FFFFFF#000000##FFFFFF
##971A6B1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F446D
Deuteranopia (green-blind)
#545968
Tritanopia (blue-blind)
#A21441
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #971a6b;
/* rgb */ color: rgb(151, 26, 107);
/* oklch */ color: oklch(46.1% 0.175 346.9);
Tailwind
colors: {
  custom: {
    50: '#ba6795',
    500: '#971a6b',
    950: '#000000',
  },
}
SCSS
$custom: #971a6b;
$custom-light: #ba6795;
$custom-dark: #000000;
JSON
{
  "hex": "#971a6b",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 107
  },
  "hsl": {
    "h": 321.12,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46096,
    "c": 0.17545,
    "h": 346.9
  },
  "luminance": 0.0838
}

Semantic roles & 50–950 ramp

primary
#971A6B
secondary
#4BC275
accent
#ED793A
background
#FCF6F9
surface
#F8EBF1
border
#D1C6CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #971A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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