#A5337A#A5337A

#A5337A is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.2% C 0.166 H 346.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A5337A
RGBrgb(165, 51, 122)
HSLhsl(323, 53%, 42%)
HSVhsv(323, 69%, 65%)
CMYKcmyk(0%, 69.1%, 26.1%, 35.3%)
CIE-LABlab(40.85, 53.39, -14.93)
CIE-LCHlch(40.85, 55.44, 344.37°)
OKLaboklab(51.21% 0.1616 -0.0395)
OKLCHoklch(51.21% 0.166 346.3)
XYZxyz(20.2146, 11.7742, 19.6167)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5337A #33A55E
analogous
#9733A5 #A5337A #A53341
triadic
#A5337A #7AA533 #337AA5
tetradic
#A5337A #A59733 #33A55E #3341A5
square
#A5337A #A59733 #33A55E #3341A5
split-complementary
#A5337A #41A533 #33A597
monochromatic
#481635 #762557 #A5337A #C84D9A #D67CB4

Accessibility & contrast

On white

6.26
#A5337A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A5337A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5337A
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5337A#FFFFFF#000000##FFFFFF
##A5337A1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41547C
Deuteranopia (green-blind)
#626777
Tritanopia (blue-blind)
#B03052
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5337a;
/* rgb */ color: rgb(165, 51, 122);
/* oklch */ color: oklch(51.2% 0.166 346.3);
Tailwind
colors: {
  custom: {
    50: '#c374a0',
    500: '#a5337a',
    950: '#000000',
  },
}
SCSS
$custom: #a5337a;
$custom-light: #c374a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a5337a",
  "rgb": {
    "r": 165,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 322.632,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51208,
    "c": 0.16638,
    "h": 346.3
  },
  "luminance": 0.11772
}

Semantic roles & 50–950 ramp

primary
#A5337A
secondary
#75BF91
accent
#DC824C
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #A5337A

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

Preview Lab → · Contrast checker → · Palette generator →

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