#971C81#971C81

#971C81 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.3% C 0.187 H 336.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#971C81
RGBrgb(151, 28, 129)
HSLhsl(311, 69%, 35%)
HSVhsv(311, 81%, 59%)
CMYKcmyk(0%, 81.5%, 14.6%, 40.8%)
CIE-LABlab(35.98, 58.45, -27.02)
CIE-LCHlch(35.98, 64.39, 335.19°)
OKLaboklab(47.31% 0.1724 -0.0737)
OKLCHoklch(47.31% 0.187 336.9)
XYZxyz(17.1405, 8.9964, 21.5984)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C81 #1C9732
analogous
#701C97 #971C81 #971C43
triadic
#971C81 #81971C #1C8197
tetradic
#971C81 #97701C #1C9732 #1C4397
square
#971C81 #97701C #1C9732 #1C4397
split-complementary
#971C81 #43971C #1C9770
monochromatic
#300929 #631255 #971C81 #CB26AD #DE4FC5

Accessibility & contrast

On white

7.50
#971C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#971C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C81
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C81#FFFFFF#000000##FFFFFF
##971C811.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204984
Deuteranopia (green-blind)
#4D5B7E
Tritanopia (blue-blind)
#9F264E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971c81;
/* rgb */ color: rgb(151, 28, 129);
/* oklch */ color: oklch(47.3% 0.187 336.9);
Tailwind
colors: {
  custom: {
    50: '#b968a6',
    500: '#971c81',
    950: '#000000',
  },
}
SCSS
$custom: #971c81;
$custom-light: #b968a6;
$custom-dark: #000000;
JSON
{
  "hex": "#971c81",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 310.732,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47305,
    "c": 0.18744,
    "h": 336.9
  },
  "luminance": 0.08995
}

Semantic roles & 50–950 ramp

primary
#971C81
secondary
#4EC162
accent
#EC5C3C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971C81

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

Preview Lab → · Contrast checker → · Palette generator →

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