#972857#972857

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

Color values

HEX#972857
RGBrgb(151, 40, 87)
HSLhsl(335, 58%, 37%)
HSVhsv(335, 74%, 59%)
CMYKcmyk(0%, 73.5%, 42.4%, 40.8%)
CIE-LABlab(35.57, 49.36, -1.04)
CIE-LCHlch(35.57, 49.37, 358.79°)
OKLaboklab(46.44% 0.1514 -0.0021)
OKLCHoklch(46.44% 0.151 359.2)
XYZxyz(15.2427, 8.7869, 9.9083)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972857 #289768
analogous
#97288E #972857 #973128
triadic
#972857 #579728 #285797
tetradic
#972857 #8E9728 #289768 #312897
square
#972857 #8E9728 #289768 #312897
split-complementary
#972857 #289731 #288E97
monochromatic
#360E1F #671B3B #972857 #C73573 #D66494

Accessibility & contrast

On white

7.62
#972857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#972857 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972857
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972857#FFFFFF#000000##FFFFFF
##9728571.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4658
Deuteranopia (green-blind)
#5D5B54
Tritanopia (blue-blind)
#A4193C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #972857;
/* rgb */ color: rgb(151, 40, 87);
/* oklch */ color: oklch(46.4% 0.151 359.2);
Tailwind
colors: {
  custom: {
    50: '#ba6c86',
    500: '#972857',
    950: '#000000',
  },
}
SCSS
$custom: #972857;
$custom-light: #ba6c86;
$custom-dark: #000000;
JSON
{
  "hex": "#972857",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 87
  },
  "hsl": {
    "h": 334.595,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46442,
    "c": 0.15145,
    "h": 359.2
  },
  "luminance": 0.08785
}

Semantic roles & 50–950 ramp

primary
#972857
secondary
#5FBC94
accent
#E1A046
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #972857

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

Preview Lab → · Contrast checker → · Palette generator →

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