#A5308C#A5308C

#A5308C is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.182 H 337.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A5308C
RGBrgb(165, 48, 140)
HSLhsl(313, 55%, 42%)
HSVhsv(313, 71%, 65%)
CMYKcmyk(0%, 70.9%, 15.2%, 35.3%)
CIE-LABlab(41.23, 57.06, -25.41)
CIE-LCHlch(41.23, 62.46, 336.00°)
OKLaboklab(51.74% 0.1684 -0.0689)
OKLCHoklch(51.74% 0.182 337.7)
XYZxyz(21.3080, 12.0086, 26.0015)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5308C #30A549
analogous
#8430A5 #A5308C #A53051
triadic
#A5308C #8CA530 #308CA5
tetradic
#A5308C #A58430 #30A549 #3051A5
square
#A5308C #A58430 #30A549 #3051A5
split-complementary
#A5308C #51A530 #30A584
monochromatic
#46143C #762264 #A5308C #CA48AE #D878C3

Accessibility & contrast

On white

6.17
#A5308C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A5308C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5308C
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5308C#FFFFFF#000000##FFFFFF
##A5308C1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34568F
Deuteranopia (green-blind)
#5B6889
Tritanopia (blue-blind)
#AE365A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a5308c;
/* rgb */ color: rgb(165, 48, 140);
/* oklch */ color: oklch(51.7% 0.182 337.7);
Tailwind
colors: {
  custom: {
    50: '#c373ae',
    500: '#a5308c',
    950: '#000000',
  },
}
SCSS
$custom: #a5308c;
$custom-light: #c373ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a5308c",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 312.821,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51736,
    "c": 0.18197,
    "h": 337.7
  },
  "luminance": 0.12007
}

Semantic roles & 50–950 ramp

primary
#A5308C
secondary
#71C082
accent
#DE694A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A5308C

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

Preview Lab → · Contrast checker → · Palette generator →

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