#A5396B#A5396B

#A5396B is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.3% C 0.150 H 355.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A5396B
RGBrgb(165, 57, 107)
HSLhsl(332, 49%, 44%)
HSVhsv(332, 65%, 65%)
CMYKcmyk(0%, 65.5%, 35.2%, 35.3%)
CIE-LABlab(41.20, 49.03, -5.10)
CIE-LCHlch(41.20, 49.29, 354.06°)
OKLaboklab(51.28% 0.1498 -0.0128)
OKLCHoklch(51.28% 0.15 355.1)
XYZxyz(19.6351, 11.9893, 15.1872)
Luminance0.1199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5396B #39A573
analogous
#A539A1 #A5396B #A53D39
triadic
#A5396B #6BA539 #396BA5
tetradic
#A5396B #A1A539 #39A573 #3D39A5
square
#A5396B #A1A539 #39A573 #3D39A5
split-complementary
#A5396B #39A53D #39A1A5
monochromatic
#4A1A30 #78294E #A5396B #C5568A #D484A9

Accessibility & contrast

On white

6.18
#A5396B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A5396B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5396B
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5396B#FFFFFF#000000##FFFFFF
##A5396B1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B556C
Deuteranopia (green-blind)
#696968
Tritanopia (blue-blind)
#B2314D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a5396b;
/* rgb */ color: rgb(165, 57, 107);
/* oklch */ color: oklch(51.3% 0.150 355.1);
Tailwind
colors: {
  custom: {
    50: '#c47695',
    500: '#a5396b',
    950: '#000000',
  },
}
SCSS
$custom: #a5396b;
$custom-light: #c47695;
$custom-dark: #000000;
JSON
{
  "hex": "#a5396b",
  "rgb": {
    "r": 165,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 332.222,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51281,
    "c": 0.15032,
    "h": 355.1
  },
  "luminance": 0.11987
}

Semantic roles & 50–950 ramp

primary
#A5396B
secondary
#7BBE9F
accent
#D89950
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13090D
muted
#827B7E

Preview Lab

Preview with #A5396B

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

Preview Lab → · Contrast checker → · Palette generator →

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