#A5387E#A5387E

#A5387E is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.9% C 0.162 H 344.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A5387E
RGBrgb(165, 56, 126)
HSLhsl(321, 49%, 43%)
HSVhsv(321, 66%, 65%)
CMYKcmyk(0%, 66.1%, 23.6%, 35.3%)
CIE-LABlab(41.75, 51.91, -16.04)
CIE-LCHlch(41.75, 54.33, 342.83°)
OKLaboklab(51.91% 0.1563 -0.0426)
OKLCHoklch(51.91% 0.162 344.7)
XYZxyz(20.6978, 12.3361, 21.0257)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5387E #38A55F
analogous
#9538A5 #A5387E #A53847
triadic
#A5387E #7EA538 #387EA5
tetradic
#A5387E #A59538 #38A55F #3847A5
square
#A5387E #A59538 #38A55F #3847A5
split-complementary
#A5387E #47A538 #38A595
monochromatic
#4A1938 #77285B #A5387E #C5559D #D583B7

Accessibility & contrast

On white

6.06
#A5387E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5387E
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5387E#FFFFFF#000000##FFFFFF
##A5387E1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435780
Deuteranopia (green-blind)
#63697B
Tritanopia (blue-blind)
#B03756
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a5387e;
/* rgb */ color: rgb(165, 56, 126);
/* oklch */ color: oklch(51.9% 0.162 344.7);
Tailwind
colors: {
  custom: {
    50: '#c376a3',
    500: '#a5387e',
    950: '#000000',
  },
}
SCSS
$custom: #a5387e;
$custom-light: #c376a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a5387e",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 321.468,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51913,
    "c": 0.16205,
    "h": 344.7
  },
  "luminance": 0.12334
}

Semantic roles & 50–950 ramp

primary
#A5387E
secondary
#7ABE93
accent
#D9804F
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A5387E

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

Preview Lab → · Contrast checker → · Palette generator →

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