#97477E#97477E

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

Color values

HEX#97477E
RGBrgb(151, 71, 126)
HSLhsl(319, 36%, 44%)
HSVhsv(319, 53%, 59%)
CMYKcmyk(0%, 53%, 16.6%, 40.8%)
CIE-LABlab(42.14, 40.61, -15.63)
CIE-LCHlch(42.14, 43.51, 338.95°)
OKLaboklab(51.77% 0.12 -0.0418)
OKLCHoklch(51.77% 0.127 340.8)
XYZxyz(18.7819, 12.5936, 21.1762)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97477E #479760
analogous
#884797 #97477E #974756
triadic
#97477E #7E9747 #477E97
tetradic
#97477E #978847 #479760 #475697
square
#97477E #978847 #479760 #475697
split-complementary
#97477E #569747 #479788
monochromatic
#442039 #6D335B #97477E #B6659D #CA8EB7

Accessibility & contrast

On white

5.97
#97477E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #97477E
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97477E#FFFFFF#000000##FFFFFF
##97477E1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5B80
Deuteranopia (green-blind)
#61687C
Tritanopia (blue-blind)
#9F485D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #97477e;
/* rgb */ color: rgb(151, 71, 126);
/* oklch */ color: oklch(51.8% 0.127 340.8);
Tailwind
colors: {
  custom: {
    50: '#b87da3',
    500: '#97477e',
    950: '#000000',
  },
}
SCSS
$custom: #97477e;
$custom-light: #b87da3;
$custom-dark: #000000;
JSON
{
  "hex": "#97477e",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 318.75,
    "s": 36.036,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51771,
    "c": 0.12703,
    "h": 340.8
  },
  "luminance": 0.12592
}

Semantic roles & 50–950 ramp

primary
#97477E
secondary
#84B694
accent
#CC7F5C
background
#FBF7FA
surface
#F6EEF3
border
#D0C9CD
text
#120A0F
muted
#817C7F

Preview Lab

Preview with #97477E

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

Preview Lab → · Contrast checker → · Palette generator →

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