#A5328E#A5328E

#A5328E is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.181 H 336.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A5328E
RGBrgb(165, 50, 142)
HSLhsl(312, 53%, 42%)
HSVhsv(312, 70%, 65%)
CMYKcmyk(0%, 69.7%, 13.9%, 35.3%)
CIE-LABlab(41.59, 56.62, -26.07)
CIE-LCHlch(41.59, 62.33, 335.28°)
OKLaboklab(52.03% 0.1665 -0.0708)
OKLCHoklch(52.03% 0.181 336.9)
XYZxyz(21.5405, 12.2354, 26.8132)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5328E #32A549
analogous
#8332A5 #A5328E #A53255
triadic
#A5328E #8EA532 #328EA5
tetradic
#A5328E #A58332 #32A549 #3255A5
square
#A5328E #A58332 #32A549 #3255A5
split-complementary
#A5328E #55A532 #32A583
monochromatic
#47163D #762466 #A5328E #C94CB0 #D77BC4

Accessibility & contrast

On white

6.09
#A5328E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A5328E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5328E
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5328E#FFFFFF#000000##FFFFFF
##A5328E1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355791
Deuteranopia (green-blind)
#5B688B
Tritanopia (blue-blind)
#AE385C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a5328e;
/* rgb */ color: rgb(165, 50, 142);
/* oklch */ color: oklch(52.0% 0.181 336.9);
Tailwind
colors: {
  custom: {
    50: '#c374af',
    500: '#a5328e',
    950: '#000000',
  },
}
SCSS
$custom: #a5328e;
$custom-light: #c374af;
$custom-dark: #000000;
JSON
{
  "hex": "#a5328e",
  "rgb": {
    "r": 165,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 312,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52027,
    "c": 0.1809,
    "h": 336.9
  },
  "luminance": 0.12234
}

Semantic roles & 50–950 ramp

primary
#A5328E
secondary
#73BF83
accent
#DD684B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A5328E

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

Preview Lab → · Contrast checker → · Palette generator →

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