#A5398F#A5398F

#A5398F is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.8% C 0.172 H 336.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A5398F
RGBrgb(165, 57, 143)
HSLhsl(312, 49%, 44%)
HSVhsv(312, 65%, 65%)
CMYKcmyk(0%, 65.5%, 13.3%, 35.3%)
CIE-LABlab(42.63, 54.00, -25.06)
CIE-LCHlch(42.63, 59.53, 335.11°)
OKLaboklab(52.8% 0.1584 -0.068)
OKLCHoklch(52.8% 0.172 336.8)
XYZxyz(21.9384, 12.9106, 27.3178)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5398F #39A54F
analogous
#8539A5 #A5398F #A53959
triadic
#A5398F #8FA539 #398FA5
tetradic
#A5398F #A58539 #39A54F #3959A5
square
#A5398F #A58539 #39A54F #3959A5
split-complementary
#A5398F #59A539 #39A585
monochromatic
#4A1A40 #782968 #A5398F #C556AE #D484C4

Accessibility & contrast

On white

5.86
#A5398F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A5398F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5398F
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5398F#FFFFFF#000000##FFFFFF
##A5398F1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5A92
Deuteranopia (green-blind)
#5E6B8C
Tritanopia (blue-blind)
#AD3F5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a5398f;
/* rgb */ color: rgb(165, 57, 143);
/* oklch */ color: oklch(52.8% 0.172 336.8);
Tailwind
colors: {
  custom: {
    50: '#c377b0',
    500: '#a5398f',
    950: '#000000',
  },
}
SCSS
$custom: #a5398f;
$custom-light: #c377b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a5398f",
  "rgb": {
    "r": 165,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 312.222,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52799,
    "c": 0.17235,
    "h": 336.8
  },
  "luminance": 0.12909
}

Semantic roles & 50–950 ramp

primary
#A5398F
secondary
#7BBE89
accent
#D86B50
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A5398F

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

Preview Lab → · Contrast checker → · Palette generator →

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