#971F42#971F42

#971F42 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.0% C 0.156 H 9.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#971F42
RGBrgb(151, 31, 66)
HSLhsl(343, 66%, 36%)
HSVhsv(343, 79%, 59%)
CMYKcmyk(0%, 79.5%, 56.3%, 40.8%)
CIE-LABlab(33.89, 50.51, 10.17)
CIE-LCHlch(33.89, 51.52, 11.38°)
OKLaboklab(45.01% 0.1534 0.0257)
OKLCHoklch(45.01% 0.156 9.5)
XYZxyz(14.2372, 7.9547, 5.9389)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F42 #1F9774
analogous
#971F7E #971F42 #97381F
triadic
#971F42 #42971F #1F4297
tetradic
#971F42 #7E971F #1F9774 #381F97
square
#971F42 #7E971F #1F9774 #381F97
split-complementary
#971F42 #1F9738 #1F7E97
monochromatic
#310A16 #64152C #971F42 #CA2958 #DC547C

Accessibility & contrast

On white

8.11
#971F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#971F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F42
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F42#FFFFFF#000000##FFFFFF
##971F421.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4043
Deuteranopia (green-blind)
#5E583F
Tritanopia (blue-blind)
#A5002E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #971f42;
/* rgb */ color: rgb(151, 31, 66);
/* oklch */ color: oklch(45.0% 0.156 9.5);
Tailwind
colors: {
  custom: {
    50: '#bc6776',
    500: '#971f42',
    950: '#000000',
  },
}
SCSS
$custom: #971f42;
$custom-light: #bc6776;
$custom-dark: #000000;
JSON
{
  "hex": "#971f42",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 66
  },
  "hsl": {
    "h": 342.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45007,
    "c": 0.15552,
    "h": 9.5
  },
  "luminance": 0.07953
}

Semantic roles & 50–950 ramp

primary
#971F42
secondary
#52BFA0
accent
#E9B73F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #971F42

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

Preview Lab → · Contrast checker → · Palette generator →

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