#972855#972855

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

Color values

HEX#972855
RGBrgb(151, 40, 85)
HSLhsl(336, 58%, 37%)
HSVhsv(336, 74%, 59%)
CMYKcmyk(0%, 73.5%, 43.7%, 40.8%)
CIE-LABlab(35.51, 49.16, 0.15)
CIE-LCHlch(35.51, 49.16, 0.18°)
OKLaboklab(46.37% 0.1507 0.001)
OKLCHoklch(46.37% 0.151 0.4)
XYZxyz(15.1621, 8.7547, 9.4840)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972855 #28976A
analogous
#97288C #972855 #973328
triadic
#972855 #559728 #285597
tetradic
#972855 #8C9728 #28976A #332897
square
#972855 #8C9728 #28976A #332897
split-complementary
#972855 #289733 #288C97
monochromatic
#360E1F #671B3A #972855 #C73570 #D66492

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##972855#FFFFFF#000000##FFFFFF
##9728551.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)
#404656
Deuteranopia (green-blind)
#5E5B52
Tritanopia (blue-blind)
#A4183B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #972855;
/* rgb */ color: rgb(151, 40, 85);
/* oklch */ color: oklch(46.4% 0.151 0.4);
Tailwind
colors: {
  custom: {
    50: '#ba6c84',
    500: '#972855',
    950: '#000000',
  },
}
SCSS
$custom: #972855;
$custom-light: #ba6c84;
$custom-dark: #000000;
JSON
{
  "hex": "#972855",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 85
  },
  "hsl": {
    "h": 335.676,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46374,
    "c": 0.15073,
    "h": 0.4
  },
  "luminance": 0.08753
}

Semantic roles & 50–950 ramp

primary
#972855
secondary
#5FBC96
accent
#E1A346
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #972855

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

Preview Lab → · Contrast checker → · Palette generator →

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