#A5397E#A5397E

#A5397E is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.0% C 0.161 H 344.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A5397E
RGBrgb(165, 57, 126)
HSLhsl(322, 49%, 44%)
HSVhsv(322, 65%, 65%)
CMYKcmyk(0%, 65.5%, 23.6%, 35.3%)
CIE-LABlab(41.90, 51.49, -15.81)
CIE-LCHlch(41.90, 53.86, 342.93°)
OKLaboklab(52.03% 0.1551 -0.042)
OKLCHoklch(52.03% 0.161 344.8)
XYZxyz(20.7468, 12.4340, 21.0420)
Luminance0.1243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5397E #39A560
analogous
#9639A5 #A5397E #A53948
triadic
#A5397E #7EA539 #397EA5
tetradic
#A5397E #A59639 #39A560 #3948A5
square
#A5397E #A59639 #39A560 #3948A5
split-complementary
#A5397E #48A539 #39A596
monochromatic
#4A1A39 #78295B #A5397E #C5569D #D484B7

Accessibility & contrast

On white

6.02
#A5397E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5397E
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5397E#FFFFFF#000000##FFFFFF
##A5397E1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445780
Deuteranopia (green-blind)
#636A7B
Tritanopia (blue-blind)
#B03856
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a5397e;
/* rgb */ color: rgb(165, 57, 126);
/* oklch */ color: oklch(52.0% 0.161 344.8);
Tailwind
colors: {
  custom: {
    50: '#c377a3',
    500: '#a5397e',
    950: '#000000',
  },
}
SCSS
$custom: #a5397e;
$custom-light: #c377a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a5397e",
  "rgb": {
    "r": 165,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 321.667,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52025,
    "c": 0.16064,
    "h": 344.8
  },
  "luminance": 0.12432
}

Semantic roles & 50–950 ramp

primary
#A5397E
secondary
#7BBE94
accent
#D88150
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A5397E

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

Preview Lab → · Contrast checker → · Palette generator →

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