#A5308D#A5308D

#A5308D is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.8% C 0.183 H 337.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A5308D
RGBrgb(165, 48, 141)
HSLhsl(312, 55%, 42%)
HSVhsv(312, 71%, 65%)
CMYKcmyk(0%, 70.9%, 14.5%, 35.3%)
CIE-LABlab(41.28, 57.21, -25.95)
CIE-LCHlch(41.28, 62.82, 335.60°)
OKLaboklab(51.79% 0.1685 -0.0705)
OKLCHoklch(51.79% 0.183 337.3)
XYZxyz(21.3821, 12.0383, 26.3916)
Luminance0.1204 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5308D #30A548
analogous
#8330A5 #A5308D #A53052
triadic
#A5308D #8DA530 #308DA5
tetradic
#A5308D #A58330 #30A548 #3052A5
square
#A5308D #A58330 #30A548 #3052A5
split-complementary
#A5308D #52A530 #30A583
monochromatic
#46143C #762264 #A5308D #CA48AF #D878C4

Accessibility & contrast

On white

6.16
#A5308D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A5308D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5308D
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5308D#FFFFFF#000000##FFFFFF
##A5308D1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345690
Deuteranopia (green-blind)
#5A688A
Tritanopia (blue-blind)
#AE365A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a5308d;
/* rgb */ color: rgb(165, 48, 141);
/* oklch */ color: oklch(51.8% 0.183 337.3);
Tailwind
colors: {
  custom: {
    50: '#c373ae',
    500: '#a5308d',
    950: '#000000',
  },
}
SCSS
$custom: #a5308d;
$custom-light: #c373ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a5308d",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 312.308,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51786,
    "c": 0.18268,
    "h": 337.3
  },
  "luminance": 0.12036
}

Semantic roles & 50–950 ramp

primary
#A5308D
secondary
#71C081
accent
#DE684A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A5308D

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

Preview Lab → · Contrast checker → · Palette generator →

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