#971C6B#971C6B

#971C6B is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.174 H 347.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#971C6B
RGBrgb(151, 28, 107)
HSLhsl(321, 69%, 35%)
HSVhsv(321, 81%, 59%)
CMYKcmyk(0%, 81.5%, 29.1%, 40.8%)
CIE-LABlab(34.95, 55.50, -14.78)
CIE-LCHlch(34.95, 57.43, 345.09°)
OKLaboklab(46.23% 0.1692 -0.0391)
OKLCHoklch(46.23% 0.174 347)
XYZxyz(15.8324, 8.4732, 14.7088)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C6B #1C9748
analogous
#851C97 #971C6B #971C2E
triadic
#971C6B #6B971C #1C6B97
tetradic
#971C6B #97851C #1C9748 #1C2E97
square
#971C6B #97851C #1C9748 #1C2E97
split-complementary
#971C6B #2E971C #1C9785
monochromatic
#300922 #631246 #971C6B #CB2690 #DE4FAB

Accessibility & contrast

On white

7.79
#971C6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#971C6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C6B
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C6B#FFFFFF#000000##FFFFFF
##971C6B1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30456D
Deuteranopia (green-blind)
#555A68
Tritanopia (blue-blind)
#A21642
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #971c6b;
/* rgb */ color: rgb(151, 28, 107);
/* oklch */ color: oklch(46.2% 0.174 347.0);
Tailwind
colors: {
  custom: {
    50: '#ba6895',
    500: '#971c6b',
    950: '#000000',
  },
}
SCSS
$custom: #971c6b;
$custom-light: #ba6895;
$custom-dark: #000000;
JSON
{
  "hex": "#971c6b",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 107
  },
  "hsl": {
    "h": 321.463,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4623,
    "c": 0.17366,
    "h": 347
  },
  "luminance": 0.08471
}

Semantic roles & 50–950 ramp

primary
#971C6B
secondary
#4EC177
accent
#EC7B3C
background
#FBF6F9
surface
#F7EBF1
border
#D0C6CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #971C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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