#A5337E#A5337E

#A5337E is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.169 H 344.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A5337E
RGBrgb(165, 51, 126)
HSLhsl(321, 53%, 42%)
HSVhsv(321, 69%, 65%)
CMYKcmyk(0%, 69.1%, 23.6%, 35.3%)
CIE-LABlab(41.02, 53.93, -17.15)
CIE-LCHlch(41.02, 56.59, 342.36°)
OKLaboklab(51.38% 0.1625 -0.0457)
OKLCHoklch(51.38% 0.169 344.3)
XYZxyz(20.4675, 11.8754, 20.9489)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5337E #33A55A
analogous
#9333A5 #A5337E #A53345
triadic
#A5337E #7EA533 #337EA5
tetradic
#A5337E #A59333 #33A55A #3345A5
square
#A5337E #A59333 #33A55A #3345A5
split-complementary
#A5337E #45A533 #33A593
monochromatic
#481637 #76255A #A5337E #C84D9E #D67CB8

Accessibility & contrast

On white

6.22
#A5337E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A5337E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5337E
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5337E#FFFFFF#000000##FFFFFF
##A5337E1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5580
Deuteranopia (green-blind)
#61687B
Tritanopia (blue-blind)
#B03254
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a5337e;
/* rgb */ color: rgb(165, 51, 126);
/* oklch */ color: oklch(51.4% 0.169 344.3);
Tailwind
colors: {
  custom: {
    50: '#c374a3',
    500: '#a5337e',
    950: '#000000',
  },
}
SCSS
$custom: #a5337e;
$custom-light: #c374a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a5337e",
  "rgb": {
    "r": 165,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 320.526,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5138,
    "c": 0.16882,
    "h": 344.3
  },
  "luminance": 0.11873
}

Semantic roles & 50–950 ramp

primary
#A5337E
secondary
#75BF8E
accent
#DC7D4C
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A5337E

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

Preview Lab → · Contrast checker → · Palette generator →

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