#9A337C#9A337C

#9A337C is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.159 H 341.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9A337C
RGBrgb(154, 51, 124)
HSLhsl(317, 50%, 40%)
HSVhsv(317, 67%, 60%)
CMYKcmyk(0%, 66.9%, 19.5%, 39.6%)
CIE-LABlab(39.06, 50.59, -19.08)
CIE-LCHlch(39.06, 54.07, 339.33°)
OKLaboklab(49.56% 0.1509 -0.0512)
OKLCHoklch(49.56% 0.159 341.2)
XYZxyz(18.1488, 10.6946, 20.1733)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A337C #339A51
analogous
#85339A #9A337C #9A3348
triadic
#9A337C #7C9A33 #337C9A
tetradic
#9A337C #9A8533 #339A51 #33489A
square
#9A337C #9A8533 #339A51 #33489A
split-complementary
#9A337C #489A33 #339A85
monochromatic
#3E1532 #6C2457 #9A337C #C2489F #D276B7

Accessibility & contrast

On white

6.69
#9A337C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9A337C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A337C
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A337C#FFFFFF#000000##FFFFFF
##9A337C1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517E
Deuteranopia (green-blind)
#5A6279
Tritanopia (blue-blind)
#A33553
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a337c;
/* rgb */ color: rgb(154, 51, 124);
/* oklch */ color: oklch(49.6% 0.159 341.2);
Tailwind
colors: {
  custom: {
    50: '#bb72a2',
    500: '#9a337c',
    950: '#000000',
  },
}
SCSS
$custom: #9a337c;
$custom-light: #bb72a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a337c",
  "rgb": {
    "r": 154,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 317.476,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49563,
    "c": 0.15938,
    "h": 341.2
  },
  "luminance": 0.10693
}

Semantic roles & 50–950 ramp

primary
#9A337C
secondary
#6FBA85
accent
#DA774E
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #9A337C

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

Preview Lab → · Contrast checker → · Palette generator →

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