#A5398E#A5398E

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

Color values

HEX#A5398E
RGBrgb(165, 57, 142)
HSLhsl(313, 49%, 44%)
HSVhsv(313, 65%, 65%)
CMYKcmyk(0%, 65.5%, 13.9%, 35.3%)
CIE-LABlab(42.58, 53.85, -24.52)
CIE-LCHlch(42.58, 59.17, 335.51°)
OKLaboklab(52.75% 0.1582 -0.0665)
OKLCHoklch(52.75% 0.172 337.2)
XYZxyz(21.8630, 12.8805, 26.9207)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5398E #39A550
analogous
#8639A5 #A5398E #A53958
triadic
#A5398E #8EA539 #398EA5
tetradic
#A5398E #A58639 #39A550 #3958A5
square
#A5398E #A58639 #39A550 #3958A5
split-complementary
#A5398E #58A539 #39A586
monochromatic
#4A1A40 #782967 #A5398E #C556AD #D484C3

Accessibility & contrast

On white

5.87
#A5398E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5398E
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5398E#FFFFFF#000000##FFFFFF
##A5398E1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5A91
Deuteranopia (green-blind)
#5E6B8B
Tritanopia (blue-blind)
#AE3E5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a5398e;
/* rgb */ color: rgb(165, 57, 142);
/* oklch */ color: oklch(52.8% 0.172 337.2);
Tailwind
colors: {
  custom: {
    50: '#c377af',
    500: '#a5398e',
    950: '#000000',
  },
}
SCSS
$custom: #a5398e;
$custom-light: #c377af;
$custom-dark: #000000;
JSON
{
  "hex": "#a5398e",
  "rgb": {
    "r": 165,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 312.778,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52751,
    "c": 0.1716,
    "h": 337.2
  },
  "luminance": 0.12879
}

Semantic roles & 50–950 ramp

primary
#A5398E
secondary
#7BBE8A
accent
#D86D50
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A5398E

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

Preview Lab → · Contrast checker → · Palette generator →

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