#A5307D#A5307D

#A5307D is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.172 H 344.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A5307D
RGBrgb(165, 48, 125)
HSLhsl(321, 55%, 42%)
HSVhsv(321, 71%, 65%)
CMYKcmyk(0%, 70.9%, 24.2%, 35.3%)
CIE-LABlab(40.57, 54.94, -17.23)
CIE-LCHlch(40.57, 57.57, 342.59°)
OKLaboklab(51.04% 0.1658 -0.0459)
OKLCHoklch(51.04% 0.172 344.5)
XYZxyz(20.2764, 11.5960, 20.5685)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5307D #30A558
analogous
#9330A5 #A5307D #A53042
triadic
#A5307D #7DA530 #307DA5
tetradic
#A5307D #A59330 #30A558 #3042A5
square
#A5307D #A59330 #30A558 #3042A5
split-complementary
#A5307D #42A530 #30A593
monochromatic
#461435 #762259 #A5307D #CA489E #D878B7

Accessibility & contrast

On white

6.33
#A5307D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A5307D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5307D
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5307D#FFFFFF#000000##FFFFFF
##A5307D1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537F
Deuteranopia (green-blind)
#60677A
Tritanopia (blue-blind)
#B02F52
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5307d;
/* rgb */ color: rgb(165, 48, 125);
/* oklch */ color: oklch(51.0% 0.172 344.5);
Tailwind
colors: {
  custom: {
    50: '#c372a2',
    500: '#a5307d',
    950: '#000000',
  },
}
SCSS
$custom: #a5307d;
$custom-light: #c372a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a5307d",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 320.513,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51037,
    "c": 0.17204,
    "h": 344.5
  },
  "luminance": 0.11594
}

Semantic roles & 50–950 ramp

primary
#A5307D
secondary
#71C08C
accent
#DE7C4A
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A5307D

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

Preview Lab → · Contrast checker → · Palette generator →

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