#97477B#97477B

#97477B is a mid, vivid pink. Relative luminance 0.125; OKLCH L 51.6% C 0.125 H 342.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#97477B
RGBrgb(151, 71, 123)
HSLhsl(321, 36%, 44%)
HSVhsv(321, 53%, 59%)
CMYKcmyk(0%, 53%, 18.5%, 40.8%)
CIE-LABlab(42.03, 40.13, -13.97)
CIE-LCHlch(42.03, 42.49, 340.81°)
OKLaboklab(51.65% 0.1192 -0.0372)
OKLCHoklch(51.65% 0.125 342.7)
XYZxyz(18.5912, 12.5173, 20.1720)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97477B #479763
analogous
#8B4797 #97477B #974753
triadic
#97477B #7B9747 #477B97
tetradic
#97477B #978B47 #479763 #475397
square
#97477B #978B47 #479763 #475397
split-complementary
#97477B #539747 #47978B
monochromatic
#442037 #6D3359 #97477B #B6659A #CA8EB5

Accessibility & contrast

On white

5.99
#97477B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#97477B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97477B
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97477B#FFFFFF#000000##FFFFFF
##97477B1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5B7D
Deuteranopia (green-blind)
#626879
Tritanopia (blue-blind)
#9F475B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #97477b;
/* rgb */ color: rgb(151, 71, 123);
/* oklch */ color: oklch(51.6% 0.125 342.7);
Tailwind
colors: {
  custom: {
    50: '#b87da1',
    500: '#97477b',
    950: '#000000',
  },
}
SCSS
$custom: #97477b;
$custom-light: #b87da1;
$custom-dark: #000000;
JSON
{
  "hex": "#97477b",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 321,
    "s": 36.036,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51645,
    "c": 0.12483,
    "h": 342.7
  },
  "luminance": 0.12516
}

Semantic roles & 50–950 ramp

primary
#97477B
secondary
#84B695
accent
#CC835C
background
#FBF7F9
surface
#F6EEF2
border
#D0C9CC
text
#120A0F
muted
#817C7E

Preview Lab

Preview with #97477B

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

Preview Lab → · Contrast checker → · Palette generator →

#97477B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva