#A0318B#A0318B

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

Color values

HEX#A0318B
RGBrgb(160, 49, 139)
HSLhsl(311, 53%, 41%)
HSVhsv(311, 69%, 63%)
CMYKcmyk(0%, 69.4%, 13.1%, 37.3%)
CIE-LABlab(40.47, 55.26, -26.05)
CIE-LCHlch(40.47, 61.09, 334.76°)
OKLaboklab(51.01% 0.162 -0.0709)
OKLCHoklch(51.01% 0.177 336.4)
XYZxyz(20.2560, 11.5361, 25.5810)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0318B #31A046
analogous
#7D31A0 #A0318B #A03153
triadic
#A0318B #8BA031 #318BA0
tetradic
#A0318B #A07D31 #31A046 #3153A0
square
#A0318B #A07D31 #31A046 #3153A0
split-complementary
#A0318B #53A031 #31A07D
monochromatic
#42143A #712362 #A0318B #C747AF #D576C3

Accessibility & contrast

On white

6.35
#A0318B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A0318B
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0318B#FFFFFF#000000##FFFFFF
##A0318B1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558E
Deuteranopia (green-blind)
#586588
Tritanopia (blue-blind)
#A8385A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a0318b;
/* rgb */ color: rgb(160, 49, 139);
/* oklch */ color: oklch(51.0% 0.177 336.4);
Tailwind
colors: {
  custom: {
    50: '#bf73ad',
    500: '#a0318b',
    950: '#000000',
  },
}
SCSS
$custom: #a0318b;
$custom-light: #bf73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a0318b",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 139
  },
  "hsl": {
    "h": 311.351,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51007,
    "c": 0.17683,
    "h": 336.4
  },
  "luminance": 0.11534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A0318B

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

Preview Lab → · Contrast checker → · Palette generator →

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