#971F4D#971F4D

#971F4D is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.158 H 3.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#971F4D
RGBrgb(151, 31, 77)
HSLhsl(337, 66%, 36%)
HSVhsv(337, 79%, 59%)
CMYKcmyk(0%, 79.5%, 49%, 40.8%)
CIE-LABlab(34.18, 51.43, 3.41)
CIE-LCHlch(34.18, 51.54, 3.79°)
OKLaboklab(45.32% 0.1576 0.0093)
OKLCHoklch(45.32% 0.158 3.4)
XYZxyz(14.5933, 8.0971, 7.8142)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F4D #1F9769
analogous
#971F89 #971F4D #972D1F
triadic
#971F4D #4D971F #1F4D97
tetradic
#971F4D #89971F #1F9769 #2D1F97
square
#971F4D #89971F #1F9769 #2D1F97
split-complementary
#971F4D #1F972D #1F8997
monochromatic
#310A19 #641533 #971F4D #CA2967 #DC5488

Accessibility & contrast

On white

8.02
#971F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971F4D
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F4D#FFFFFF#000000##FFFFFF
##971F4D1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414E
Deuteranopia (green-blind)
#5D594A
Tritanopia (blue-blind)
#A50033
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #971f4d;
/* rgb */ color: rgb(151, 31, 77);
/* oklch */ color: oklch(45.3% 0.158 3.4);
Tailwind
colors: {
  custom: {
    50: '#bb687e',
    500: '#971f4d',
    950: '#000000',
  },
}
SCSS
$custom: #971f4d;
$custom-light: #bb687e;
$custom-dark: #000000;
JSON
{
  "hex": "#971f4d",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 77
  },
  "hsl": {
    "h": 337,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45322,
    "c": 0.15788,
    "h": 3.4
  },
  "luminance": 0.08095
}

Semantic roles & 50–950 ramp

primary
#971F4D
secondary
#52BF96
accent
#E9A83F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #971F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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