#9A397A#9A397A

#9A397A is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.2% C 0.149 H 342.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9A397A
RGBrgb(154, 57, 122)
HSLhsl(320, 46%, 41%)
HSVhsv(320, 63%, 60%)
CMYKcmyk(0%, 63%, 20.8%, 39.6%)
CIE-LABlab(39.92, 47.70, -16.53)
CIE-LCHlch(39.92, 50.48, 340.89°)
OKLaboklab(50.17% 0.1426 -0.0441)
OKLCHoklch(50.17% 0.149 342.8)
XYZxyz(18.3029, 11.2031, 19.6071)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A397A #399A59
analogous
#8A399A #9A397A #9A394A
triadic
#9A397A #7A9A39 #397A9A
tetradic
#9A397A #9A8A39 #399A59 #394A9A
square
#9A397A #9A8A39 #399A59 #394A9A
split-complementary
#9A397A #4A9A39 #399A8A
monochromatic
#411833 #6D2857 #9A397A #BF519B #CF7EB5

Accessibility & contrast

On white

6.48
#9A397A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9A397A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A397A
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A397A#FFFFFF#000000##FFFFFF
##9A397A1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41547C
Deuteranopia (green-blind)
#5D6478
Tritanopia (blue-blind)
#A33954
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9a397a;
/* rgb */ color: rgb(154, 57, 122);
/* oklch */ color: oklch(50.2% 0.149 342.8);
Tailwind
colors: {
  custom: {
    50: '#bb75a0',
    500: '#9a397a',
    950: '#000000',
  },
}
SCSS
$custom: #9a397a;
$custom-light: #bb75a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a397a",
  "rgb": {
    "r": 154,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 319.794,
    "s": 45.972,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50165,
    "c": 0.1493,
    "h": 342.8
  },
  "luminance": 0.11201
}

Semantic roles & 50–950 ramp

primary
#9A397A
secondary
#76B98C
accent
#D67E52
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12090E
muted
#817B7E

Preview Lab

Preview with #9A397A

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

Preview Lab → · Contrast checker → · Palette generator →

#9A397A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva