#A0398A#A0398A

#A0398A is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.8% C 0.165 H 337.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A0398A
RGBrgb(160, 57, 138)
HSLhsl(313, 47%, 43%)
HSVhsv(313, 64%, 63%)
CMYKcmyk(0%, 64.4%, 13.8%, 37.3%)
CIE-LABlab(41.59, 51.86, -23.70)
CIE-LCHlch(41.59, 57.01, 335.44°)
OKLaboklab(51.81% 0.1522 -0.0642)
OKLCHoklch(51.81% 0.165 337.1)
XYZxyz(20.5481, 12.2365, 25.3195)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0398A #39A04F
analogous
#8339A0 #A0398A #A03956
triadic
#A0398A #8AA039 #398AA0
tetradic
#A0398A #A08339 #39A04F #3956A0
square
#A0398A #A08339 #39A04F #3956A0
split-complementary
#A0398A #56A039 #39A083
monochromatic
#46193C #732963 #A0398A #C254AB #D281C1

Accessibility & contrast

On white

6.09
#A0398A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A0398A
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0398A#FFFFFF#000000##FFFFFF
##A0398A1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C588C
Deuteranopia (green-blind)
#5C6887
Tritanopia (blue-blind)
#A83E5C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a0398a;
/* rgb */ color: rgb(160, 57, 138);
/* oklch */ color: oklch(51.8% 0.165 337.1);
Tailwind
colors: {
  custom: {
    50: '#bf77ac',
    500: '#a0398a',
    950: '#000000',
  },
}
SCSS
$custom: #a0398a;
$custom-light: #bf77ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a0398a",
  "rgb": {
    "r": 160,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 312.816,
    "s": 47.465,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51808,
    "c": 0.16522,
    "h": 337.1
  },
  "luminance": 0.12235
}

Semantic roles & 50–950 ramp

primary
#A0398A
secondary
#79BC87
accent
#D76D51
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A0398A

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

Preview Lab → · Contrast checker → · Palette generator →

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