#9A397E#9A397E

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

Color values

HEX#9A397E
RGBrgb(154, 57, 126)
HSLhsl(317, 46%, 41%)
HSVhsv(317, 63%, 60%)
CMYKcmyk(0%, 63%, 18.2%, 39.6%)
CIE-LABlab(40.09, 48.30, -18.74)
CIE-LCHlch(40.09, 51.81, 338.80°)
OKLaboklab(50.34% 0.1435 -0.0503)
OKLCHoklch(50.34% 0.152 340.7)
XYZxyz(18.5559, 11.3043, 20.9393)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A397E #399A55
analogous
#86399A #9A397E #9A394D
triadic
#9A397E #7E9A39 #397E9A
tetradic
#9A397E #9A8639 #399A55 #394D9A
square
#9A397E #9A8639 #399A55 #394D9A
split-complementary
#9A397E #4D9A39 #399A86
monochromatic
#411835 #6D2859 #9A397E #BF519F #CF7EB8

Accessibility & contrast

On white

6.44
#9A397E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9A397E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A397E
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A397E#FFFFFF#000000##FFFFFF
##9A397E1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5580
Deuteranopia (green-blind)
#5C647C
Tritanopia (blue-blind)
#A33B56
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9a397e;
/* rgb */ color: rgb(154, 57, 126);
/* oklch */ color: oklch(50.3% 0.152 340.7);
Tailwind
colors: {
  custom: {
    50: '#bb76a3',
    500: '#9a397e',
    950: '#000000',
  },
}
SCSS
$custom: #9a397e;
$custom-light: #bb76a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a397e",
  "rgb": {
    "r": 154,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 317.32,
    "s": 45.972,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50344,
    "c": 0.15209,
    "h": 340.7
  },
  "luminance": 0.11303
}

Semantic roles & 50–950 ramp

primary
#9A397E
secondary
#76B989
accent
#D67852
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9A397E

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

Preview Lab → · Contrast checker → · Palette generator →

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