#971D7F#971D7F

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

Color values

HEX#971D7F
RGBrgb(151, 29, 127)
HSLhsl(312, 68%, 35%)
HSVhsv(312, 81%, 59%)
CMYKcmyk(0%, 80.8%, 15.9%, 40.8%)
CIE-LABlab(35.97, 57.89, -25.79)
CIE-LCHlch(35.97, 63.38, 335.99°)
OKLaboklab(47.27% 0.1714 -0.0701)
OKLCHoklch(47.27% 0.185 337.7)
XYZxyz(17.0330, 8.9920, 20.9131)
Luminance0.0899 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D7F #1D9735
analogous
#721D97 #971D7F #971D42
triadic
#971D7F #7F971D #1D7F97
tetradic
#971D7F #97721D #1D9735 #1D4297
square
#971D7F #97721D #1D9735 #1D4297
split-complementary
#971D7F #42971D #1D9772
monochromatic
#300929 #641354 #971D7F #CA27AA #DE51C2

Accessibility & contrast

On white

7.51
#971D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971D7F
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D7F#FFFFFF#000000##FFFFFF
##971D7F1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234982
Deuteranopia (green-blind)
#4E5B7C
Tritanopia (blue-blind)
#A0254D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971d7f;
/* rgb */ color: rgb(151, 29, 127);
/* oklch */ color: oklch(47.3% 0.185 337.7);
Tailwind
colors: {
  custom: {
    50: '#b969a4',
    500: '#971d7f',
    950: '#000000',
  },
}
SCSS
$custom: #971d7f;
$custom-light: #b969a4;
$custom-dark: #000000;
JSON
{
  "hex": "#971d7f",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 311.803,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47266,
    "c": 0.18519,
    "h": 337.7
  },
  "luminance": 0.0899
}

Semantic roles & 50–950 ramp

primary
#971D7F
secondary
#4FC066
accent
#EB5F3D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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