#A3318C#A3318C

#A3318C is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.179 H 337.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A3318C
RGBrgb(163, 49, 140)
HSLhsl(312, 54%, 42%)
HSVhsv(312, 70%, 64%)
CMYKcmyk(0%, 69.9%, 14.1%, 36.1%)
CIE-LABlab(41.02, 56.18, -25.76)
CIE-LCHlch(41.02, 61.80, 335.37°)
OKLaboklab(51.52% 0.1653 -0.07)
OKLCHoklch(51.52% 0.179 337.1)
XYZxyz(20.9365, 11.8785, 25.9960)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3318C #31A348
analogous
#8131A3 #A3318C #A33153
triadic
#A3318C #8CA331 #318CA3
tetradic
#A3318C #A38131 #31A348 #3153A3
square
#A3318C #A38131 #31A348 #3153A3
split-complementary
#A3318C #53A331 #31A381
monochromatic
#45153B #742364 #A3318C #C849AF #D678C3

Accessibility & contrast

On white

6.22
#A3318C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A3318C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3318C
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3318C#FFFFFF#000000##FFFFFF
##A3318C1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34568F
Deuteranopia (green-blind)
#5A6789
Tritanopia (blue-blind)
#AC375A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a3318c;
/* rgb */ color: rgb(163, 49, 140);
/* oklch */ color: oklch(51.5% 0.179 337.1);
Tailwind
colors: {
  custom: {
    50: '#c273ae',
    500: '#a3318c',
    950: '#000000',
  },
}
SCSS
$custom: #a3318c;
$custom-light: #c273ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a3318c",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 140
  },
  "hsl": {
    "h": 312.105,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51521,
    "c": 0.17945,
    "h": 337.1
  },
  "luminance": 0.11877
}

Semantic roles & 50–950 ramp

primary
#A3318C
secondary
#71BF81
accent
#DD684B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A3318C

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

Preview Lab → · Contrast checker → · Palette generator →

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