#A5327E#A5327E

#A5327E is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.170 H 344.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A5327E
RGBrgb(165, 50, 126)
HSLhsl(320, 53%, 42%)
HSVhsv(320, 70%, 65%)
CMYKcmyk(0%, 69.7%, 23.6%, 35.3%)
CIE-LABlab(40.88, 54.32, -17.37)
CIE-LCHlch(40.88, 57.02, 342.27°)
OKLaboklab(51.28% 0.1637 -0.0463)
OKLCHoklch(51.28% 0.17 344.2)
XYZxyz(20.4243, 11.7890, 20.9345)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5327E #32A559
analogous
#9332A5 #A5327E #A53245
triadic
#A5327E #7EA532 #327EA5
tetradic
#A5327E #A59332 #32A559 #3245A5
square
#A5327E #A59332 #32A559 #3245A5
split-complementary
#A5327E #45A532 #32A593
monochromatic
#471636 #76245A #A5327E #C94C9E #D77BB8

Accessibility & contrast

On white

6.25
#A5327E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A5327E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5327E
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5327E#FFFFFF#000000##FFFFFF
##A5327E1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5480
Deuteranopia (green-blind)
#60677B
Tritanopia (blue-blind)
#B03153
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5327e;
/* rgb */ color: rgb(165, 50, 126);
/* oklch */ color: oklch(51.3% 0.170 344.2);
Tailwind
colors: {
  custom: {
    50: '#c373a3',
    500: '#a5327e',
    950: '#000000',
  },
}
SCSS
$custom: #a5327e;
$custom-light: #c373a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a5327e",
  "rgb": {
    "r": 165,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 320.348,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51279,
    "c": 0.17011,
    "h": 344.2
  },
  "luminance": 0.11787
}

Semantic roles & 50–950 ramp

primary
#A5327E
secondary
#73BF8D
accent
#DD7C4B
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A5327E

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

Preview Lab → · Contrast checker → · Palette generator →

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