#971F47#971F47

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

Color values

HEX#971F47
RGBrgb(151, 31, 71)
HSLhsl(340, 66%, 36%)
HSVhsv(340, 79%, 59%)
CMYKcmyk(0%, 79.5%, 53%, 40.8%)
CIE-LABlab(34.02, 50.91, 7.08)
CIE-LCHlch(34.02, 51.40, 7.92°)
OKLaboklab(45.14% 0.1553 0.0183)
OKLCHoklch(45.14% 0.156 6.7)
XYZxyz(14.3911, 8.0162, 6.7495)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F47 #1F976F
analogous
#971F83 #971F47 #97331F
triadic
#971F47 #47971F #1F4797
tetradic
#971F47 #83971F #1F976F #331F97
square
#971F47 #83971F #1F976F #331F97
split-complementary
#971F47 #1F9733 #1F8397
monochromatic
#310A17 #64152F #971F47 #CA295F #DC5482

Accessibility & contrast

On white

8.07
#971F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#971F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F47
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F47#FFFFFF#000000##FFFFFF
##971F471.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4148
Deuteranopia (green-blind)
#5E5944
Tritanopia (blue-blind)
#A50030
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #971f47;
/* rgb */ color: rgb(151, 31, 71);
/* oklch */ color: oklch(45.1% 0.156 6.7);
Tailwind
colors: {
  custom: {
    50: '#bb6779',
    500: '#971f47',
    950: '#000000',
  },
}
SCSS
$custom: #971f47;
$custom-light: #bb6779;
$custom-dark: #000000;
JSON
{
  "hex": "#971f47",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 71
  },
  "hsl": {
    "h": 340,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45144,
    "c": 0.15643,
    "h": 6.7
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#971F47
secondary
#52BF9B
accent
#E9B03F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #971F47

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

Preview Lab → · Contrast checker → · Palette generator →

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