#971E6D#971E6D

#971E6D is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.5% C 0.173 H 346.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#971E6D
RGBrgb(151, 30, 109)
HSLhsl(321, 67%, 35%)
HSVhsv(321, 80%, 59%)
CMYKcmyk(0%, 80.1%, 27.8%, 40.8%)
CIE-LABlab(35.23, 55.19, -15.62)
CIE-LCHlch(35.23, 57.36, 344.20°)
OKLaboklab(46.46% 0.1679 -0.0414)
OKLCHoklch(46.46% 0.173 346.1)
XYZxyz(15.9878, 8.6138, 15.2857)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E6D #1E9748
analogous
#841E97 #971E6D #971E31
triadic
#971E6D #6D971E #1E6D97
tetradic
#971E6D #97841E #1E9748 #1E3197
square
#971E6D #97841E #1E9748 #1E3197
split-complementary
#971E6D #31971E #1E9784
monochromatic
#310A23 #641448 #971E6D #CA2892 #DD53AD

Accessibility & contrast

On white

7.71
#971E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#971E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971E6D
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971E6D#FFFFFF#000000##FFFFFF
##971E6D1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30466F
Deuteranopia (green-blind)
#555A6A
Tritanopia (blue-blind)
#A21A43
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #971e6d;
/* rgb */ color: rgb(151, 30, 109);
/* oklch */ color: oklch(46.5% 0.173 346.1);
Tailwind
colors: {
  custom: {
    50: '#ba6897',
    500: '#971e6d',
    950: '#000000',
  },
}
SCSS
$custom: #971e6d;
$custom-light: #ba6897;
$custom-dark: #000000;
JSON
{
  "hex": "#971e6d",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 109
  },
  "hsl": {
    "h": 320.826,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4646,
    "c": 0.1729,
    "h": 346.1
  },
  "luminance": 0.08612
}

Semantic roles & 50–950 ramp

primary
#971E6D
secondary
#51C077
accent
#EA7A3E
background
#FBF6F9
surface
#F7EBF2
border
#D0C6CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #971E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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