#972856#972856

#972856 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.4% C 0.151 H 359.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#972856
RGBrgb(151, 40, 86)
HSLhsl(335, 58%, 37%)
HSVhsv(335, 74%, 59%)
CMYKcmyk(0%, 73.5%, 43%, 40.8%)
CIE-LABlab(35.54, 49.26, -0.45)
CIE-LCHlch(35.54, 49.26, 359.48°)
OKLaboklab(46.41% 0.1511 -0.0006)
OKLCHoklch(46.41% 0.151 359.8)
XYZxyz(15.2021, 8.7707, 9.6947)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972856 #289769
analogous
#97288E #972856 #973128
triadic
#972856 #569728 #285697
tetradic
#972856 #8E9728 #289769 #312897
square
#972856 #8E9728 #289769 #312897
split-complementary
#972856 #289731 #288E97
monochromatic
#360E1F #671B3A #972856 #C73572 #D66493

Accessibility & contrast

On white

7.63
#972856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#972856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972856
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972856#FFFFFF#000000##FFFFFF
##9728561.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4657
Deuteranopia (green-blind)
#5E5B53
Tritanopia (blue-blind)
#A4183B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #972856;
/* rgb */ color: rgb(151, 40, 86);
/* oklch */ color: oklch(46.4% 0.151 359.8);
Tailwind
colors: {
  custom: {
    50: '#ba6c85',
    500: '#972856',
    950: '#000000',
  },
}
SCSS
$custom: #972856;
$custom-light: #ba6c85;
$custom-dark: #000000;
JSON
{
  "hex": "#972856",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 86
  },
  "hsl": {
    "h": 335.135,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46408,
    "c": 0.15108,
    "h": 359.8
  },
  "luminance": 0.08769
}

Semantic roles & 50–950 ramp

primary
#972856
secondary
#5FBC95
accent
#E1A146
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #972856

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

Preview Lab → · Contrast checker → · Palette generator →

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