#A5308F#A5308F

#A5308F is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.184 H 336.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A5308F
RGBrgb(165, 48, 143)
HSLhsl(311, 55%, 42%)
HSVhsv(311, 71%, 65%)
CMYKcmyk(0%, 70.9%, 13.3%, 35.3%)
CIE-LABlab(41.37, 57.51, -27.02)
CIE-LCHlch(41.37, 63.54, 334.84°)
OKLaboklab(51.89% 0.1688 -0.0735)
OKLCHoklch(51.89% 0.184 336.5)
XYZxyz(21.5323, 12.0983, 27.1825)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5308F #30A546
analogous
#8130A5 #A5308F #A53055
triadic
#A5308F #8FA530 #308FA5
tetradic
#A5308F #A58130 #30A546 #3055A5
square
#A5308F #A58130 #30A546 #3055A5
split-complementary
#A5308F #55A530 #30A581
monochromatic
#46143D #762266 #A5308F #CA48B2 #D878C6

Accessibility & contrast

On white

6.14
#A5308F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A5308F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5308F
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5308F#FFFFFF#000000##FFFFFF
##A5308F1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325692
Deuteranopia (green-blind)
#59688C
Tritanopia (blue-blind)
#AE375B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a5308f;
/* rgb */ color: rgb(165, 48, 143);
/* oklch */ color: oklch(51.9% 0.184 336.5);
Tailwind
colors: {
  custom: {
    50: '#c373b0',
    500: '#a5308f',
    950: '#000000',
  },
}
SCSS
$custom: #a5308f;
$custom-light: #c373b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a5308f",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 311.282,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51886,
    "c": 0.1841,
    "h": 336.5
  },
  "luminance": 0.12096
}

Semantic roles & 50–950 ramp

primary
#A5308F
secondary
#71C080
accent
#DE654A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A5308F

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

Preview Lab → · Contrast checker → · Palette generator →

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