#A0318C#A0318C

#A0318C is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.178 H 335.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A0318C
RGBrgb(160, 49, 140)
HSLhsl(311, 53%, 41%)
HSVhsv(311, 69%, 63%)
CMYKcmyk(0%, 69.4%, 12.5%, 37.3%)
CIE-LABlab(40.52, 55.41, -26.59)
CIE-LCHlch(40.52, 61.46, 334.37°)
OKLaboklab(51.06% 0.1621 -0.0724)
OKLCHoklch(51.06% 0.178 335.9)
XYZxyz(20.3294, 11.5654, 25.9675)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0318C #31A045
analogous
#7C31A0 #A0318C #A03154
triadic
#A0318C #8CA031 #318CA0
tetradic
#A0318C #A07C31 #31A045 #3154A0
square
#A0318C #A07C31 #31A045 #3154A0
split-complementary
#A0318C #54A031 #31A07C
monochromatic
#42143A #712363 #A0318C #C747B0 #D576C4

Accessibility & contrast

On white

6.34
#A0318C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A0318C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0318C
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0318C#FFFFFF#000000##FFFFFF
##A0318C1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32558F
Deuteranopia (green-blind)
#576689
Tritanopia (blue-blind)
#A8385A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a0318c;
/* rgb */ color: rgb(160, 49, 140);
/* oklch */ color: oklch(51.1% 0.178 335.9);
Tailwind
colors: {
  custom: {
    50: '#bf73ae',
    500: '#a0318c',
    950: '#000000',
  },
}
SCSS
$custom: #a0318c;
$custom-light: #bf73ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a0318c",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 140
  },
  "hsl": {
    "h": 310.811,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51057,
    "c": 0.17757,
    "h": 335.9
  },
  "luminance": 0.11564
}

Semantic roles & 50–950 ramp

primary
#A0318C
secondary
#70BD7E
accent
#DD654B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A0318C

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

Preview Lab → · Contrast checker → · Palette generator →

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