#A5307F#A5307F

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

Color values

HEX#A5307F
RGBrgb(165, 48, 127)
HSLhsl(319, 55%, 42%)
HSVhsv(319, 71%, 65%)
CMYKcmyk(0%, 70.9%, 23%, 35.3%)
CIE-LABlab(40.65, 55.21, -18.33)
CIE-LCHlch(40.65, 58.17, 341.63°)
OKLaboklab(51.13% 0.1662 -0.049)
OKLCHoklch(51.13% 0.173 343.6)
XYZxyz(20.4055, 11.6476, 21.2481)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5307F #30A556
analogous
#9130A5 #A5307F #A53045
triadic
#A5307F #7FA530 #307FA5
tetradic
#A5307F #A59130 #30A556 #3045A5
square
#A5307F #A59130 #30A556 #3045A5
split-complementary
#A5307F #45A530 #30A591
monochromatic
#461436 #76225B #A5307F #CA48A0 #D878B9

Accessibility & contrast

On white

6.31
#A5307F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A5307F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5307F
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5307F#FFFFFF#000000##FFFFFF
##A5307F1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5381
Deuteranopia (green-blind)
#5F677C
Tritanopia (blue-blind)
#B03053
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5307f;
/* rgb */ color: rgb(165, 48, 127);
/* oklch */ color: oklch(51.1% 0.173 343.6);
Tailwind
colors: {
  custom: {
    50: '#c372a4',
    500: '#a5307f',
    950: '#000000',
  },
}
SCSS
$custom: #a5307f;
$custom-light: #c372a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a5307f",
  "rgb": {
    "r": 165,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 319.487,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51126,
    "c": 0.17328,
    "h": 343.6
  },
  "luminance": 0.11646
}

Semantic roles & 50–950 ramp

primary
#A5307F
secondary
#71C08B
accent
#DE7A4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A5307F

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

Preview Lab → · Contrast checker → · Palette generator →

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