#A9338B#A9338B

#A9338B is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.180 H 339.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A9338B
RGBrgb(169, 51, 139)
HSLhsl(315, 54%, 43%)
HSVhsv(315, 70%, 66%)
CMYKcmyk(0%, 69.8%, 17.8%, 33.7%)
CIE-LABlab(42.26, 56.83, -23.15)
CIE-LCHlch(42.26, 61.37, 337.84°)
OKLaboklab(52.6% 0.169 -0.0625)
OKLCHoklch(52.6% 0.18 339.7)
XYZxyz(22.2068, 12.6688, 25.6969)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9338B #33A951
analogous
#8C33A9 #A9338B #A93350
triadic
#A9338B #8BA933 #338BA9
tetradic
#A9338B #A98C33 #33A951 #3350A9
square
#A9338B #A98C33 #33A951 #3350A9
split-complementary
#A9338B #50A933 #33A98C
monochromatic
#4B173E #7A2564 #A9338B #CA4FAB #D87EC1

Accessibility & contrast

On white

5.94
#A9338B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A9338B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A9338B
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9338B#FFFFFF#000000##FFFFFF
##A9338B1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A588E
Deuteranopia (green-blind)
#5F6B88
Tritanopia (blue-blind)
#B3375A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a9338b;
/* rgb */ color: rgb(169, 51, 139);
/* oklch */ color: oklch(52.6% 0.180 339.7);
Tailwind
colors: {
  custom: {
    50: '#c675ad',
    500: '#a9338b',
    950: '#000000',
  },
}
SCSS
$custom: #a9338b;
$custom-light: #c675ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a9338b",
  "rgb": {
    "r": 169,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 315.254,
    "s": 53.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.526,
    "c": 0.18014,
    "h": 339.7
  },
  "luminance": 0.12667
}

Semantic roles & 50–950 ramp

primary
#A9338B
secondary
#77C18A
accent
#DD704B
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A9338B

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

Preview Lab → · Contrast checker → · Palette generator →

#A9338B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva