#971D63#971D63

#971D63 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.168 H 351.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#971D63
RGBrgb(151, 29, 99)
HSLhsl(326, 68%, 35%)
HSVhsv(326, 81%, 59%)
CMYKcmyk(0%, 80.8%, 34.4%, 40.8%)
CIE-LABlab(34.72, 54.27, -10.01)
CIE-LCHlch(34.72, 55.19, 349.55°)
OKLaboklab(45.96% 0.1665 -0.026)
OKLCHoklch(45.96% 0.168 351.1)
XYZxyz(15.4549, 8.3608, 12.6019)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D63 #1D9751
analogous
#8E1D97 #971D63 #971D26
triadic
#971D63 #63971D #1D6397
tetradic
#971D63 #978E1D #1D9751 #1D2697
square
#971D63 #978E1D #1D9751 #1D2697
split-complementary
#971D63 #26971D #1D978E
monochromatic
#300920 #641341 #971D63 #CA2785 #DE51A2

Accessibility & contrast

On white

7.86
#971D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#971D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971D63
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D63#FFFFFF#000000##FFFFFF
##971D631.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344465
Deuteranopia (green-blind)
#575960
Tritanopia (blue-blind)
#A3113E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #971d63;
/* rgb */ color: rgb(151, 29, 99);
/* oklch */ color: oklch(46.0% 0.168 351.1);
Tailwind
colors: {
  custom: {
    50: '#ba688f',
    500: '#971d63',
    950: '#000000',
  },
}
SCSS
$custom: #971d63;
$custom-light: #ba688f;
$custom-dark: #000000;
JSON
{
  "hex": "#971d63",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 99
  },
  "hsl": {
    "h": 325.574,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4596,
    "c": 0.16848,
    "h": 351.1
  },
  "luminance": 0.08359
}

Semantic roles & 50–950 ramp

primary
#971D63
secondary
#4FC080
accent
#EB873D
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #971D63

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

Preview Lab → · Contrast checker → · Palette generator →

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