#A5308E#A5308E

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

Color values

HEX#A5308E
RGBrgb(165, 48, 142)
HSLhsl(312, 55%, 42%)
HSVhsv(312, 71%, 65%)
CMYKcmyk(0%, 70.9%, 13.9%, 35.3%)
CIE-LABlab(41.32, 57.36, -26.48)
CIE-LCHlch(41.32, 63.18, 335.22°)
OKLaboklab(51.84% 0.1687 -0.072)
OKLCHoklch(51.84% 0.183 336.9)
XYZxyz(21.4568, 12.0682, 26.7853)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5308E #30A547
analogous
#8230A5 #A5308E #A53054
triadic
#A5308E #8EA530 #308EA5
tetradic
#A5308E #A58230 #30A547 #3054A5
square
#A5308E #A58230 #30A547 #3054A5
split-complementary
#A5308E #54A530 #30A582
monochromatic
#46143C #762265 #A5308E #CA48B0 #D878C5

Accessibility & contrast

On white

6.15
#A5308E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5308E
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5308E#FFFFFF#000000##FFFFFF
##A5308E1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335691
Deuteranopia (green-blind)
#5A688B
Tritanopia (blue-blind)
#AE375B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a5308e;
/* rgb */ color: rgb(165, 48, 142);
/* oklch */ color: oklch(51.8% 0.183 336.9);
Tailwind
colors: {
  custom: {
    50: '#c373af',
    500: '#a5308e',
    950: '#000000',
  },
}
SCSS
$custom: #a5308e;
$custom-light: #c373af;
$custom-dark: #000000;
JSON
{
  "hex": "#a5308e",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 311.795,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51836,
    "c": 0.18339,
    "h": 336.9
  },
  "luminance": 0.12066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5308E

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

Preview Lab → · Contrast checker → · Palette generator →

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