#971B7C#971B7C

#971B7C is a mid, vivid pink. Relative luminance 0.088; OKLCH L 47.0% C 0.185 H 339.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#971B7C
RGBrgb(151, 27, 124)
HSLhsl(313, 70%, 35%)
HSVhsv(313, 82%, 59%)
CMYKcmyk(0%, 82.1%, 17.9%, 40.8%)
CIE-LABlab(35.64, 58.00, -24.44)
CIE-LCHlch(35.64, 62.94, 337.15°)
OKLaboklab(46.98% 0.1727 -0.0663)
OKLCHoklch(46.98% 0.185 339)
XYZxyz(16.7930, 8.8201, 19.8829)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B7C #1B9736
analogous
#741B97 #971B7C #971B3E
triadic
#971B7C #7C971B #1B7C97
tetradic
#971B7C #97741B #1B9736 #1B3E97
square
#971B7C #97741B #1B9736 #1B3E97
split-complementary
#971B7C #3E971B #1B9774
monochromatic
#2F0827 #631251 #971B7C #CB24A7 #DF4DBF

Accessibility & contrast

On white

7.60
#971B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#971B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B7C
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B7C#FFFFFF#000000##FFFFFF
##971B7C1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24487E
Deuteranopia (green-blind)
#4E5B79
Tritanopia (blue-blind)
#A0224B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971b7c;
/* rgb */ color: rgb(151, 27, 124);
/* oklch */ color: oklch(47.0% 0.185 339.0);
Tailwind
colors: {
  custom: {
    50: '#ba68a2',
    500: '#971b7c',
    950: '#000000',
  },
}
SCSS
$custom: #971b7c;
$custom-light: #ba68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#971b7c",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 313.065,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46978,
    "c": 0.18497,
    "h": 339
  },
  "luminance": 0.08818
}

Semantic roles & 50–950 ramp

primary
#971B7C
secondary
#4CC166
accent
#EC623B
background
#FBF6FA
surface
#F7EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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