#A3318D#A3318D

#A3318D is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.180 H 336.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A3318D
RGBrgb(163, 49, 141)
HSLhsl(312, 54%, 42%)
HSVhsv(312, 70%, 64%)
CMYKcmyk(0%, 69.9%, 13.5%, 36.1%)
CIE-LABlab(41.07, 56.33, -26.30)
CIE-LCHlch(41.07, 62.17, 334.98°)
OKLaboklab(51.57% 0.1654 -0.0715)
OKLCHoklch(51.57% 0.18 336.6)
XYZxyz(21.0106, 11.9081, 26.3861)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3318D #31A347
analogous
#8031A3 #A3318D #A33154
triadic
#A3318D #8DA331 #318DA3
tetradic
#A3318D #A38031 #31A347 #3154A3
square
#A3318D #A38031 #31A347 #3154A3
split-complementary
#A3318D #54A331 #31A380
monochromatic
#45153C #742364 #A3318D #C849B0 #D678C4

Accessibility & contrast

On white

6.21
#A3318D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A3318D
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3318D#FFFFFF#000000##FFFFFF
##A3318D1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335690
Deuteranopia (green-blind)
#59678A
Tritanopia (blue-blind)
#AB385B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a3318d;
/* rgb */ color: rgb(163, 49, 141);
/* oklch */ color: oklch(51.6% 0.180 336.6);
Tailwind
colors: {
  custom: {
    50: '#c273ae',
    500: '#a3318d',
    950: '#000000',
  },
}
SCSS
$custom: #a3318d;
$custom-light: #c273ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a3318d",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 311.579,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51571,
    "c": 0.18017,
    "h": 336.6
  },
  "luminance": 0.11906
}

Semantic roles & 50–950 ramp

primary
#A3318D
secondary
#71BF80
accent
#DD674B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A3318D

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

Preview Lab → · Contrast checker → · Palette generator →

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