#9A337A#9A337A

#9A337A is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.158 H 342.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9A337A
RGBrgb(154, 51, 122)
HSLhsl(319, 50%, 40%)
HSVhsv(319, 67%, 60%)
CMYKcmyk(0%, 66.9%, 20.8%, 39.6%)
CIE-LABlab(38.98, 50.30, -17.98)
CIE-LCHlch(38.98, 53.41, 340.33°)
OKLaboklab(49.47% 0.1505 -0.0481)
OKLCHoklch(49.47% 0.158 342.3)
XYZxyz(18.0236, 10.6445, 19.5140)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A337A #339A53
analogous
#87339A #9A337A #9A3346
triadic
#9A337A #7A9A33 #337A9A
tetradic
#9A337A #9A8733 #339A53 #33469A
square
#9A337A #9A8733 #339A53 #33469A
split-complementary
#9A337A #469A33 #339A87
monochromatic
#3E1531 #6C2456 #9A337A #C2489C #D276B5

Accessibility & contrast

On white

6.71
#9A337A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9A337A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A337A
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A337A#FFFFFF#000000##FFFFFF
##9A337A1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517C
Deuteranopia (green-blind)
#5A6278
Tritanopia (blue-blind)
#A33452
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a337a;
/* rgb */ color: rgb(154, 51, 122);
/* oklch */ color: oklch(49.5% 0.158 342.3);
Tailwind
colors: {
  custom: {
    50: '#bb72a0',
    500: '#9a337a',
    950: '#000000',
  },
}
SCSS
$custom: #9a337a;
$custom-light: #bb72a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a337a",
  "rgb": {
    "r": 154,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 318.641,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49472,
    "c": 0.15802,
    "h": 342.3
  },
  "luminance": 0.10643
}

Semantic roles & 50–950 ramp

primary
#9A337A
secondary
#6FBA86
accent
#DA794E
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A337A

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

Preview Lab → · Contrast checker → · Palette generator →

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