#A5306B#A5306B

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

Color values

HEX#A5306B
RGBrgb(165, 48, 107)
HSLhsl(330, 55%, 42%)
HSVhsv(330, 71%, 65%)
CMYKcmyk(0%, 70.9%, 35.2%, 35.3%)
CIE-LABlab(39.88, 52.67, -7.07)
CIE-LCHlch(39.88, 53.15, 352.35°)
OKLaboklab(50.31% 0.1612 -0.018)
OKLCHoklch(50.31% 0.162 353.6)
XYZxyz(19.2290, 11.1770, 15.0518)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5306B #30A56A
analogous
#A530A5 #A5306B #A53030
triadic
#A5306B #6BA530 #306BA5
tetradic
#A5306B #A5A530 #30A56A #3030A5
square
#A5306B #A5A530 #30A56A #3030A5
split-complementary
#A5306B #30A530 #30A5A5
monochromatic
#46142E #76224C #A5306B #CA488A #D878A8

Accessibility & contrast

On white

6.49
#A5306B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5306B
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5306B#FFFFFF#000000##FFFFFF
##A5306B1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44506D
Deuteranopia (green-blind)
#656668
Tritanopia (blue-blind)
#B22649
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5306b;
/* rgb */ color: rgb(165, 48, 107);
/* oklch */ color: oklch(50.3% 0.162 353.6);
Tailwind
colors: {
  custom: {
    50: '#c47295',
    500: '#a5306b',
    950: '#000000',
  },
}
SCSS
$custom: #a5306b;
$custom-light: #c47295;
$custom-dark: #000000;
JSON
{
  "hex": "#a5306b",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 107
  },
  "hsl": {
    "h": 329.744,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50306,
    "c": 0.16224,
    "h": 353.6
  },
  "luminance": 0.11175
}

Semantic roles & 50–950 ramp

primary
#A5306B
secondary
#71C098
accent
#DE934A
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5306B

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

Preview Lab → · Contrast checker → · Palette generator →

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