#97477F#97477F

#97477F is a mid, vivid pink. Relative luminance 0.126; OKLCH L 51.8% C 0.128 H 340.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#97477F
RGBrgb(151, 71, 127)
HSLhsl(318, 36%, 44%)
HSVhsv(318, 53%, 59%)
CMYKcmyk(0%, 53%, 15.9%, 40.8%)
CIE-LABlab(42.18, 40.77, -16.18)
CIE-LCHlch(42.18, 43.86, 338.36°)
OKLaboklab(51.81% 0.1202 -0.0433)
OKLCHoklch(51.81% 0.128 340.2)
XYZxyz(18.8468, 12.6195, 21.5177)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97477F #47975F
analogous
#874797 #97477F #974757
triadic
#97477F #7F9747 #477F97
tetradic
#97477F #978747 #47975F #475797
square
#97477F #978747 #47975F #475797
split-complementary
#97477F #579747 #479787
monochromatic
#442039 #6D335C #97477F #B6659E #CA8EB8

Accessibility & contrast

On white

5.96
#97477F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#97477F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97477F
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97477F#FFFFFF#000000##FFFFFF
##97477F1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5C81
Deuteranopia (green-blind)
#61687D
Tritanopia (blue-blind)
#9F485D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #97477f;
/* rgb */ color: rgb(151, 71, 127);
/* oklch */ color: oklch(51.8% 0.128 340.2);
Tailwind
colors: {
  custom: {
    50: '#b87da4',
    500: '#97477f',
    950: '#000000',
  },
}
SCSS
$custom: #97477f;
$custom-light: #b87da4;
$custom-dark: #000000;
JSON
{
  "hex": "#97477f",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 318,
    "s": 36.036,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51814,
    "c": 0.12779,
    "h": 340.2
  },
  "luminance": 0.12618
}

Semantic roles & 50–950 ramp

primary
#97477F
secondary
#84B693
accent
#CC7D5C
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#120A0F
muted
#817C7F

Preview Lab

Preview with #97477F

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

Preview Lab → · Contrast checker → · Palette generator →

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