#A5307C#A5307C

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

Color values

HEX#A5307C
RGBrgb(165, 48, 124)
HSLhsl(321, 55%, 42%)
HSVhsv(321, 71%, 65%)
CMYKcmyk(0%, 70.9%, 24.8%, 35.3%)
CIE-LABlab(40.53, 54.80, -16.67)
CIE-LCHlch(40.53, 57.28, 343.08°)
OKLaboklab(50.99% 0.1656 -0.0443)
OKLCHoklch(50.99% 0.171 345)
XYZxyz(20.2129, 11.5706, 20.2337)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5307C #30A559
analogous
#9430A5 #A5307C #A53041
triadic
#A5307C #7CA530 #307CA5
tetradic
#A5307C #A59430 #30A559 #3041A5
square
#A5307C #A59430 #30A559 #3041A5
split-complementary
#A5307C #41A530 #30A594
monochromatic
#461435 #762258 #A5307C #CA489C #D878B6

Accessibility & contrast

On white

6.34
#A5307C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5307C
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5307C#FFFFFF#000000##FFFFFF
##A5307C1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537E
Deuteranopia (green-blind)
#606779
Tritanopia (blue-blind)
#B02E52
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5307c;
/* rgb */ color: rgb(165, 48, 124);
/* oklch */ color: oklch(51.0% 0.171 345.0);
Tailwind
colors: {
  custom: {
    50: '#c372a2',
    500: '#a5307c',
    950: '#000000',
  },
}
SCSS
$custom: #a5307c;
$custom-light: #c372a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a5307c",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 321.026,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50994,
    "c": 0.17143,
    "h": 345
  },
  "luminance": 0.11568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5307C

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

Preview Lab → · Contrast checker → · Palette generator →

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