#A0318A#A0318A

#A0318A is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.176 H 336.8°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A0318A
RGBrgb(160, 49, 138)
HSLhsl(312, 53%, 41%)
HSVhsv(312, 69%, 63%)
CMYKcmyk(0%, 69.4%, 13.8%, 37.3%)
CIE-LABlab(40.42, 55.10, -25.51)
CIE-LCHlch(40.42, 60.72, 335.16°)
OKLaboklab(50.96% 0.1619 -0.0693)
OKLCHoklch(50.96% 0.176 336.8)
XYZxyz(20.1833, 11.5070, 25.1979)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0318A #31A047
analogous
#7E31A0 #A0318A #A03152
triadic
#A0318A #8AA031 #318AA0
tetradic
#A0318A #A07E31 #31A047 #3152A0
square
#A0318A #A07E31 #31A047 #3152A0
split-complementary
#A0318A #52A031 #31A07E
monochromatic
#421439 #712362 #A0318A #C747AE #D576C2

Accessibility & contrast

On white

6.36
#A0318A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A0318A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0318A
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0318A#FFFFFF#000000##FFFFFF
##A0318A1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34548D
Deuteranopia (green-blind)
#586587
Tritanopia (blue-blind)
#A83759
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a0318a;
/* rgb */ color: rgb(160, 49, 138);
/* oklch */ color: oklch(51.0% 0.176 336.8);
Tailwind
colors: {
  custom: {
    50: '#bf73ac',
    500: '#a0318a',
    950: '#000000',
  },
}
SCSS
$custom: #a0318a;
$custom-light: #bf73ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a0318a",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 138
  },
  "hsl": {
    "h": 311.892,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50957,
    "c": 0.1761,
    "h": 336.8
  },
  "luminance": 0.11505
}

Semantic roles & 50–950 ramp

primary
#A0318A
secondary
#70BD7F
accent
#DD684B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A0318A

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

Preview Lab → · Contrast checker → · Palette generator →

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