#A5397A#A5397A

#A5397A is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.9% C 0.158 H 346.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A5397A
RGBrgb(165, 57, 122)
HSLhsl(324, 49%, 44%)
HSVhsv(324, 65%, 65%)
CMYKcmyk(0%, 65.5%, 26.1%, 35.3%)
CIE-LABlab(41.74, 50.94, -13.58)
CIE-LCHlch(41.74, 52.72, 345.07°)
OKLaboklab(51.86% 0.1541 -0.0358)
OKLCHoklch(51.86% 0.158 346.9)
XYZxyz(20.4938, 12.3328, 19.7098)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5397A #39A564
analogous
#9A39A5 #A5397A #A53944
triadic
#A5397A #7AA539 #397AA5
tetradic
#A5397A #A59A39 #39A564 #3944A5
square
#A5397A #A59A39 #39A564 #3944A5
split-complementary
#A5397A #44A539 #39A59A
monochromatic
#4A1A37 #782958 #A5397A #C55699 #D484B4

Accessibility & contrast

On white

6.06
#A5397A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A5397A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5397A
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5397A#FFFFFF#000000##FFFFFF
##A5397A1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46577C
Deuteranopia (green-blind)
#656977
Tritanopia (blue-blind)
#B03654
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a5397a;
/* rgb */ color: rgb(165, 57, 122);
/* oklch */ color: oklch(51.9% 0.158 346.9);
Tailwind
colors: {
  custom: {
    50: '#c377a0',
    500: '#a5397a',
    950: '#000000',
  },
}
SCSS
$custom: #a5397a;
$custom-light: #c377a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a5397a",
  "rgb": {
    "r": 165,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 323.889,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51858,
    "c": 0.15818,
    "h": 346.9
  },
  "luminance": 0.12331
}

Semantic roles & 50–950 ramp

primary
#A5397A
secondary
#7BBE96
accent
#D88650
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #A5397A

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

Preview Lab → · Contrast checker → · Palette generator →

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