#A5327F#A5327F

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

Color values

HEX#A5327F
RGBrgb(165, 50, 127)
HSLhsl(320, 53%, 42%)
HSVhsv(320, 70%, 65%)
CMYKcmyk(0%, 69.7%, 23%, 35.3%)
CIE-LABlab(40.92, 54.45, -17.92)
CIE-LCHlch(40.92, 57.33, 341.79°)
OKLaboklab(51.32% 0.1639 -0.0478)
OKLCHoklch(51.32% 0.171 343.7)
XYZxyz(20.4891, 11.8149, 21.2760)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5327F #32A558
analogous
#9232A5 #A5327F #A53246
triadic
#A5327F #7FA532 #327FA5
tetradic
#A5327F #A59232 #32A558 #3246A5
square
#A5327F #A59232 #32A558 #3246A5
split-complementary
#A5327F #46A532 #32A592
monochromatic
#471637 #76245B #A5327F #C94C9F #D77BB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5327F#FFFFFF#000000##FFFFFF
##A5327F1.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)
#3D5481
Deuteranopia (green-blind)
#60677C
Tritanopia (blue-blind)
#B03254
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5327f;
/* rgb */ color: rgb(165, 50, 127);
/* oklch */ color: oklch(51.3% 0.171 343.7);
Tailwind
colors: {
  custom: {
    50: '#c373a4',
    500: '#a5327f',
    950: '#000000',
  },
}
SCSS
$custom: #a5327f;
$custom-light: #c373a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a5327f",
  "rgb": {
    "r": 165,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 319.826,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51323,
    "c": 0.17074,
    "h": 343.7
  },
  "luminance": 0.11813
}

Semantic roles & 50–950 ramp

primary
#A5327F
secondary
#73BF8C
accent
#DD7B4B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A5327F

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

Preview Lab → · Contrast checker → · Palette generator →

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