#A5307E#A5307E

#A5307E is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.173 H 344.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A5307E
RGBrgb(165, 48, 126)
HSLhsl(320, 55%, 42%)
HSVhsv(320, 71%, 65%)
CMYKcmyk(0%, 70.9%, 23.6%, 35.3%)
CIE-LABlab(40.61, 55.07, -17.78)
CIE-LCHlch(40.61, 57.87, 342.11°)
OKLaboklab(51.08% 0.166 -0.0474)
OKLCHoklch(51.08% 0.173 344.1)
XYZxyz(20.3406, 11.6217, 20.9066)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5307E #30A557
analogous
#9230A5 #A5307E #A53044
triadic
#A5307E #7EA530 #307EA5
tetradic
#A5307E #A59230 #30A557 #3044A5
square
#A5307E #A59230 #30A557 #3044A5
split-complementary
#A5307E #44A530 #30A592
monochromatic
#461436 #76225A #A5307E #CA489F #D878B8

Accessibility & contrast

On white

6.32
#A5307E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5307E
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5307E#FFFFFF#000000##FFFFFF
##A5307E1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5380
Deuteranopia (green-blind)
#60677B
Tritanopia (blue-blind)
#B02F53
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5307e;
/* rgb */ color: rgb(165, 48, 126);
/* oklch */ color: oklch(51.1% 0.173 344.1);
Tailwind
colors: {
  custom: {
    50: '#c372a3',
    500: '#a5307e',
    950: '#000000',
  },
}
SCSS
$custom: #a5307e;
$custom-light: #c372a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a5307e",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 320,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51081,
    "c": 0.17266,
    "h": 344.1
  },
  "luminance": 0.1162
}

Semantic roles & 50–950 ramp

primary
#A5307E
secondary
#71C08B
accent
#DE7B4A
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A5307E

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

Preview Lab → · Contrast checker → · Palette generator →

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