#A5306C#A5306C

#A5306C is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.3% C 0.163 H 353.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A5306C
RGBrgb(165, 48, 108)
HSLhsl(329, 55%, 42%)
HSVhsv(329, 71%, 65%)
CMYKcmyk(0%, 70.9%, 34.5%, 35.3%)
CIE-LABlab(39.91, 52.79, -7.65)
CIE-LCHlch(39.91, 53.34, 351.76°)
OKLaboklab(50.34% 0.1615 -0.0196)
OKLCHoklch(50.34% 0.163 353.1)
XYZxyz(19.2819, 11.1982, 15.3305)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5306C #30A569
analogous
#A430A5 #A5306C #A53031
triadic
#A5306C #6CA530 #306CA5
tetradic
#A5306C #A5A430 #30A569 #3031A5
square
#A5306C #A5A430 #30A569 #3031A5
split-complementary
#A5306C #31A530 #30A5A4
monochromatic
#46142E #76224D #A5306C #CA488B #D878A9

Accessibility & contrast

On white

6.48
#A5306C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A5306C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5306C
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5306C#FFFFFF#000000##FFFFFF
##A5306C1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44506E
Deuteranopia (green-blind)
#656669
Tritanopia (blue-blind)
#B2274A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5306c;
/* rgb */ color: rgb(165, 48, 108);
/* oklch */ color: oklch(50.3% 0.163 353.1);
Tailwind
colors: {
  custom: {
    50: '#c47296',
    500: '#a5306c',
    950: '#000000',
  },
}
SCSS
$custom: #a5306c;
$custom-light: #c47296;
$custom-dark: #000000;
JSON
{
  "hex": "#a5306c",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 329.231,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50344,
    "c": 0.1627,
    "h": 353.1
  },
  "luminance": 0.11196
}

Semantic roles & 50–950 ramp

primary
#A5306C
secondary
#71C097
accent
#DE924A
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5306C

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

Preview Lab → · Contrast checker → · Palette generator →

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