#972847#972847

#972847 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.0% C 0.147 H 8.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#972847
RGBrgb(151, 40, 71)
HSLhsl(343, 58%, 37%)
HSVhsv(343, 74%, 59%)
CMYKcmyk(0%, 73.5%, 53%, 40.8%)
CIE-LABlab(35.11, 47.84, 8.62)
CIE-LCHlch(35.11, 48.61, 10.21°)
OKLaboklab(45.95% 0.1455 0.0221)
OKLCHoklch(45.95% 0.147 8.6)
XYZxyz(14.6599, 8.5538, 6.8391)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972847 #289778
analogous
#97287F #972847 #974028
triadic
#972847 #479728 #284797
tetradic
#972847 #7F9728 #289778 #402897
square
#972847 #7F9728 #289778 #402897
split-complementary
#972847 #289740 #287F97
monochromatic
#360E1A #671B30 #972847 #C7355E #D66483

Accessibility & contrast

On white

7.75
#972847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#972847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972847
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972847#FFFFFF#000000##FFFFFF
##9728471.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434448
Deuteranopia (green-blind)
#605B44
Tritanopia (blue-blind)
#A50F35
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #972847;
/* rgb */ color: rgb(151, 40, 71);
/* oklch */ color: oklch(46.0% 0.147 8.6);
Tailwind
colors: {
  custom: {
    50: '#bb6b7a',
    500: '#972847',
    950: '#000000',
  },
}
SCSS
$custom: #972847;
$custom-light: #bb6b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#972847",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 71
  },
  "hsl": {
    "h": 343.243,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45951,
    "c": 0.14715,
    "h": 8.6
  },
  "luminance": 0.08552
}

Semantic roles & 50–950 ramp

primary
#972847
secondary
#5FBCA2
accent
#E1B646
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #972847

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

Preview Lab → · Contrast checker → · Palette generator →

#972847 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva