#A5397F#A5397F

#A5397F is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.1% C 0.161 H 344.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A5397F
RGBrgb(165, 57, 127)
HSLhsl(321, 49%, 44%)
HSVhsv(321, 65%, 65%)
CMYKcmyk(0%, 65.5%, 23%, 35.3%)
CIE-LABlab(41.94, 51.63, -16.36)
CIE-LCHlch(41.94, 54.16, 342.42°)
OKLaboklab(52.07% 0.1553 -0.0435)
OKLCHoklch(52.07% 0.161 344.3)
XYZxyz(20.8116, 12.4599, 21.3835)
Luminance0.1246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5397F #39A55F
analogous
#9539A5 #A5397F #A53949
triadic
#A5397F #7FA539 #397FA5
tetradic
#A5397F #A59539 #39A55F #3949A5
square
#A5397F #A59539 #39A55F #3949A5
split-complementary
#A5397F #49A539 #39A595
monochromatic
#4A1A39 #78295C #A5397F #C5569E #D484B8

Accessibility & contrast

On white

6.01
#A5397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A5397F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5397F
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5397F#FFFFFF#000000##FFFFFF
##A5397F1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435781
Deuteranopia (green-blind)
#636A7C
Tritanopia (blue-blind)
#AF3857
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a5397f;
/* rgb */ color: rgb(165, 57, 127);
/* oklch */ color: oklch(52.1% 0.161 344.3);
Tailwind
colors: {
  custom: {
    50: '#c377a4',
    500: '#a5397f',
    950: '#000000',
  },
}
SCSS
$custom: #a5397f;
$custom-light: #c377a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a5397f",
  "rgb": {
    "r": 165,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 321.111,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52068,
    "c": 0.16127,
    "h": 344.3
  },
  "luminance": 0.12458
}

Semantic roles & 50–950 ramp

primary
#A5397F
secondary
#7BBE93
accent
#D88050
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A5397F

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

Preview Lab → · Contrast checker → · Palette generator →

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