#A5327C#A5327C

#A5327C is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.169 H 345.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A5327C
RGBrgb(165, 50, 124)
HSLhsl(321, 53%, 42%)
HSVhsv(321, 70%, 65%)
CMYKcmyk(0%, 69.7%, 24.8%, 35.3%)
CIE-LABlab(40.80, 54.05, -16.26)
CIE-LCHlch(40.80, 56.44, 343.26°)
OKLaboklab(51.19% 0.1633 -0.0432)
OKLCHoklch(51.19% 0.169 345.2)
XYZxyz(20.2965, 11.7379, 20.2616)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5327C #32A55B
analogous
#9432A5 #A5327C #A53243
triadic
#A5327C #7CA532 #327CA5
tetradic
#A5327C #A59432 #32A55B #3243A5
square
#A5327C #A59432 #32A55B #3243A5
split-complementary
#A5327C #43A532 #32A594
monochromatic
#471635 #762459 #A5327C #C94C9C #D77BB6

Accessibility & contrast

On white

6.27
#A5327C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5327C
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5327C#FFFFFF#000000##FFFFFF
##A5327C1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547E
Deuteranopia (green-blind)
#616779
Tritanopia (blue-blind)
#B03052
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5327c;
/* rgb */ color: rgb(165, 50, 124);
/* oklch */ color: oklch(51.2% 0.169 345.2);
Tailwind
colors: {
  custom: {
    50: '#c373a2',
    500: '#a5327c',
    950: '#000000',
  },
}
SCSS
$custom: #a5327c;
$custom-light: #c373a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a5327c",
  "rgb": {
    "r": 165,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 321.391,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51192,
    "c": 0.16889,
    "h": 345.2
  },
  "luminance": 0.11736
}

Semantic roles & 50–950 ramp

primary
#A5327C
secondary
#73BF8E
accent
#DD7F4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #A5327C

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

Preview Lab → · Contrast checker → · Palette generator →

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