#A5397B#A5397B

#A5397B is a mid, vivid pink. Relative luminance 0.124; OKLCH L 51.9% C 0.159 H 346.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A5397B
RGBrgb(165, 57, 123)
HSLhsl(323, 49%, 44%)
HSVhsv(323, 65%, 65%)
CMYKcmyk(0%, 65.5%, 25.5%, 35.3%)
CIE-LABlab(41.78, 51.08, -14.14)
CIE-LCHlch(41.78, 53.00, 344.52°)
OKLaboklab(51.9% 0.1543 -0.0374)
OKLCHoklch(51.9% 0.159 346.4)
XYZxyz(20.5561, 12.3577, 20.0377)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5397B #39A563
analogous
#9939A5 #A5397B #A53945
triadic
#A5397B #7BA539 #397BA5
tetradic
#A5397B #A59939 #39A563 #3945A5
square
#A5397B #A59939 #39A563 #3945A5
split-complementary
#A5397B #45A539 #39A599
monochromatic
#4A1A37 #782959 #A5397B #C5569A #D484B5

Accessibility & contrast

On white

6.05
#A5397B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5397B
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5397B#FFFFFF#000000##FFFFFF
##A5397B1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45577D
Deuteranopia (green-blind)
#646978
Tritanopia (blue-blind)
#B03755
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a5397b;
/* rgb */ color: rgb(165, 57, 123);
/* oklch */ color: oklch(51.9% 0.159 346.4);
Tailwind
colors: {
  custom: {
    50: '#c377a1',
    500: '#a5397b',
    950: '#000000',
  },
}
SCSS
$custom: #a5397b;
$custom-light: #c377a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a5397b",
  "rgb": {
    "r": 165,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 323.333,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51899,
    "c": 0.15879,
    "h": 346.4
  },
  "luminance": 0.12356
}

Semantic roles & 50–950 ramp

primary
#A5397B
secondary
#7BBE95
accent
#D88550
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #A5397B

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

Preview Lab → · Contrast checker → · Palette generator →

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