#A5307A#A5307A

#A5307A is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.170 H 346.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A5307A
RGBrgb(165, 48, 122)
HSLhsl(322, 55%, 42%)
HSVhsv(322, 71%, 65%)
CMYKcmyk(0%, 70.9%, 26.1%, 35.3%)
CIE-LABlab(40.44, 54.54, -15.56)
CIE-LCHlch(40.44, 56.71, 344.08°)
OKLaboklab(50.91% 0.1652 -0.0412)
OKLCHoklch(50.91% 0.17 346)
XYZxyz(20.0877, 11.5205, 19.5744)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5307A #30A55B
analogous
#9630A5 #A5307A #A53040
triadic
#A5307A #7AA530 #307AA5
tetradic
#A5307A #A59630 #30A55B #3040A5
square
#A5307A #A59630 #30A55B #3040A5
split-complementary
#A5307A #40A530 #30A596
monochromatic
#461434 #762257 #A5307A #CA489A #D878B4

Accessibility & contrast

On white

6.36
#A5307A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A5307A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5307A
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5307A#FFFFFF#000000##FFFFFF
##A5307A1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537C
Deuteranopia (green-blind)
#616777
Tritanopia (blue-blind)
#B02D51
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5307a;
/* rgb */ color: rgb(165, 48, 122);
/* oklch */ color: oklch(50.9% 0.170 346.0);
Tailwind
colors: {
  custom: {
    50: '#c372a0',
    500: '#a5307a',
    950: '#000000',
  },
}
SCSS
$custom: #a5307a;
$custom-light: #c372a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a5307a",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 322.051,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50907,
    "c": 0.17023,
    "h": 346
  },
  "luminance": 0.11518
}

Semantic roles & 50–950 ramp

primary
#A5307A
secondary
#71C08E
accent
#DE804A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #A5307A

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

Preview Lab → · Contrast checker → · Palette generator →

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