#A5307B#A5307B

#A5307B is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.171 H 345.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A5307B
RGBrgb(165, 48, 123)
HSLhsl(322, 55%, 42%)
HSVhsv(322, 71%, 65%)
CMYKcmyk(0%, 70.9%, 25.5%, 35.3%)
CIE-LABlab(40.48, 54.67, -16.12)
CIE-LCHlch(40.48, 57.00, 343.57°)
OKLaboklab(50.95% 0.1654 -0.0428)
OKLCHoklch(50.95% 0.171 345.5)
XYZxyz(20.1500, 11.5454, 19.9024)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5307B #30A55A
analogous
#9530A5 #A5307B #A53041
triadic
#A5307B #7BA530 #307BA5
tetradic
#A5307B #A59530 #30A55A #3041A5
square
#A5307B #A59530 #30A55A #3041A5
split-complementary
#A5307B #41A530 #30A595
monochromatic
#461434 #762258 #A5307B #CA489B #D878B5

Accessibility & contrast

On white

6.35
#A5307B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A5307B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5307B
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5307B#FFFFFF#000000##FFFFFF
##A5307B1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537D
Deuteranopia (green-blind)
#616778
Tritanopia (blue-blind)
#B02E51
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5307b;
/* rgb */ color: rgb(165, 48, 123);
/* oklch */ color: oklch(50.9% 0.171 345.5);
Tailwind
colors: {
  custom: {
    50: '#c372a1',
    500: '#a5307b',
    950: '#000000',
  },
}
SCSS
$custom: #a5307b;
$custom-light: #c372a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a5307b",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 321.538,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5095,
    "c": 0.17082,
    "h": 345.5
  },
  "luminance": 0.11543
}

Semantic roles & 50–950 ramp

primary
#A5307B
secondary
#71C08D
accent
#DE7F4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #A5307B

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

Preview Lab → · Contrast checker → · Palette generator →

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