#A5397D#A5397D

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

Color values

HEX#A5397D
RGBrgb(165, 57, 125)
HSLhsl(322, 49%, 44%)
HSVhsv(322, 65%, 65%)
CMYKcmyk(0%, 65.5%, 24.2%, 35.3%)
CIE-LABlab(41.86, 51.35, -15.25)
CIE-LCHlch(41.86, 53.57, 343.46°)
OKLaboklab(51.98% 0.1548 -0.0404)
OKLCHoklch(51.98% 0.16 345.4)
XYZxyz(20.6826, 12.4083, 20.7039)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5397D #39A561
analogous
#9739A5 #A5397D #A53947
triadic
#A5397D #7DA539 #397DA5
tetradic
#A5397D #A59739 #39A561 #3947A5
square
#A5397D #A59739 #39A561 #3947A5
split-complementary
#A5397D #47A539 #39A597
monochromatic
#4A1A38 #78295B #A5397D #C5569C #D484B7

Accessibility & contrast

On white

6.03
#A5397D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A5397D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5397D
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5397D#FFFFFF#000000##FFFFFF
##A5397D1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44577F
Deuteranopia (green-blind)
#64697A
Tritanopia (blue-blind)
#B03756
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a5397d;
/* rgb */ color: rgb(165, 57, 125);
/* oklch */ color: oklch(52.0% 0.160 345.4);
Tailwind
colors: {
  custom: {
    50: '#c377a2',
    500: '#a5397d',
    950: '#000000',
  },
}
SCSS
$custom: #a5397d;
$custom-light: #c377a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a5397d",
  "rgb": {
    "r": 165,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 322.222,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51983,
    "c": 0.16001,
    "h": 345.4
  },
  "luminance": 0.12406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5397D

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

Preview Lab → · Contrast checker → · Palette generator →

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