#9A397C#9A397C

#9A397C is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.3% C 0.151 H 341.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9A397C
RGBrgb(154, 57, 124)
HSLhsl(319, 46%, 41%)
HSVhsv(319, 63%, 60%)
CMYKcmyk(0%, 63%, 19.5%, 39.6%)
CIE-LABlab(40.00, 48.00, -17.63)
CIE-LCHlch(40.00, 51.13, 339.83°)
OKLaboklab(50.25% 0.1431 -0.0472)
OKLCHoklch(50.25% 0.151 341.7)
XYZxyz(18.4281, 11.2532, 20.2664)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A397C #399A57
analogous
#88399A #9A397C #9A394C
triadic
#9A397C #7C9A39 #397C9A
tetradic
#9A397C #9A8839 #399A57 #394C9A
square
#9A397C #9A8839 #399A57 #394C9A
split-complementary
#9A397C #4C9A39 #399A88
monochromatic
#411834 #6D2858 #9A397C #BF519D #CF7EB6

Accessibility & contrast

On white

6.46
#9A397C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9A397C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A397C
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A397C#FFFFFF#000000##FFFFFF
##9A397C1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40547E
Deuteranopia (green-blind)
#5C647A
Tritanopia (blue-blind)
#A33A55
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9a397c;
/* rgb */ color: rgb(154, 57, 124);
/* oklch */ color: oklch(50.3% 0.151 341.7);
Tailwind
colors: {
  custom: {
    50: '#bb76a2',
    500: '#9a397c',
    950: '#000000',
  },
}
SCSS
$custom: #9a397c;
$custom-light: #bb76a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a397c",
  "rgb": {
    "r": 154,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 318.557,
    "s": 45.972,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50254,
    "c": 0.15068,
    "h": 341.7
  },
  "luminance": 0.11252
}

Semantic roles & 50–950 ramp

primary
#9A397C
secondary
#76B98B
accent
#D67B52
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12090F
muted
#817B7E

Preview Lab

Preview with #9A397C

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

Preview Lab → · Contrast checker → · Palette generator →

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