#971E51#971E51

#971E51 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.160 H 1.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#971E51
RGBrgb(151, 30, 81)
HSLhsl(335, 67%, 35%)
HSVhsv(335, 80%, 59%)
CMYKcmyk(0%, 80.1%, 46.4%, 40.8%)
CIE-LABlab(34.20, 52.10, 0.83)
CIE-LCHlch(34.20, 52.10, 0.91°)
OKLaboklab(45.37% 0.16 0.0027)
OKLCHoklch(45.37% 0.16 1)
XYZxyz(14.7132, 8.1039, 8.5724)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E51 #1E9764
analogous
#971E8D #971E51 #97281E
triadic
#971E51 #51971E #1E5197
tetradic
#971E51 #8D971E #1E9764 #281E97
square
#971E51 #8D971E #1E9764 #281E97
split-complementary
#971E51 #1E9728 #1E8D97
monochromatic
#310A1A #641436 #971E51 #CA286C #DD538D

Accessibility & contrast

On white

8.01
#971E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#971E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971E51
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971E51#FFFFFF#000000##FFFFFF
##971E511.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4252
Deuteranopia (green-blind)
#5C594E
Tritanopia (blue-blind)
#A40035
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #971e51;
/* rgb */ color: rgb(151, 30, 81);
/* oklch */ color: oklch(45.4% 0.160 1.0);
Tailwind
colors: {
  custom: {
    50: '#bb6781',
    500: '#971e51',
    950: '#000000',
  },
}
SCSS
$custom: #971e51;
$custom-light: #bb6781;
$custom-dark: #000000;
JSON
{
  "hex": "#971e51",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 81
  },
  "hsl": {
    "h": 334.711,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45371,
    "c": 0.16004,
    "h": 1
  },
  "luminance": 0.08102
}

Semantic roles & 50–950 ramp

primary
#971E51
secondary
#51C091
accent
#EAA13E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #971E51

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

Preview Lab → · Contrast checker → · Palette generator →

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