#A5387B#A5387B

#A5387B is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.8% C 0.160 H 346.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A5387B
RGBrgb(165, 56, 123)
HSLhsl(323, 49%, 43%)
HSVhsv(323, 66%, 65%)
CMYKcmyk(0%, 66.1%, 25.5%, 35.3%)
CIE-LABlab(41.63, 51.50, -14.37)
CIE-LCHlch(41.63, 53.47, 344.40°)
OKLaboklab(51.79% 0.1556 -0.038)
OKLCHoklch(51.79% 0.16 346.3)
XYZxyz(20.5072, 12.2598, 20.0214)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5387B #38A562
analogous
#9838A5 #A5387B #A53845
triadic
#A5387B #7BA538 #387BA5
tetradic
#A5387B #A59838 #38A562 #3845A5
square
#A5387B #A59838 #38A562 #3845A5
split-complementary
#A5387B #45A538 #38A598
monochromatic
#4A1937 #772859 #A5387B #C5559A #D583B5

Accessibility & contrast

On white

6.08
#A5387B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A5387B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5387B
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5387B#FFFFFF#000000##FFFFFF
##A5387B1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44567D
Deuteranopia (green-blind)
#646978
Tritanopia (blue-blind)
#B03654
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a5387b;
/* rgb */ color: rgb(165, 56, 123);
/* oklch */ color: oklch(51.8% 0.160 346.3);
Tailwind
colors: {
  custom: {
    50: '#c376a1',
    500: '#a5387b',
    950: '#000000',
  },
}
SCSS
$custom: #a5387b;
$custom-light: #c376a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a5387b",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 323.119,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51787,
    "c": 0.16019,
    "h": 346.3
  },
  "luminance": 0.12258
}

Semantic roles & 50–950 ramp

primary
#A5387B
secondary
#7ABE95
accent
#D9844F
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #A5387B

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

Preview Lab → · Contrast checker → · Palette generator →

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