#A3318E#A3318E

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

Color values

HEX#A3318E
RGBrgb(163, 49, 142)
HSLhsl(311, 54%, 42%)
HSVhsv(311, 70%, 64%)
CMYKcmyk(0%, 69.9%, 12.9%, 36.1%)
CIE-LABlab(41.12, 56.48, -26.83)
CIE-LCHlch(41.12, 62.53, 334.59°)
OKLaboklab(51.62% 0.1655 -0.073)
OKLCHoklch(51.62% 0.181 336.2)
XYZxyz(21.0854, 11.9380, 26.7797)
Luminance0.1194 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3318E #31A346
analogous
#7F31A3 #A3318E #A33155
triadic
#A3318E #8EA331 #318EA3
tetradic
#A3318E #A37F31 #31A346 #3155A3
square
#A3318E #A37F31 #31A346 #3155A3
split-complementary
#A3318E #55A331 #31A37F
monochromatic
#45153C #742365 #A3318E #C849B1 #D678C5

Accessibility & contrast

On white

6.20
#A3318E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A3318E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3318E
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3318E#FFFFFF#000000##FFFFFF
##A3318E1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a3318e;
/* rgb */ color: rgb(163, 49, 142);
/* oklch */ color: oklch(51.6% 0.181 336.2);
Tailwind
colors: {
  custom: {
    50: '#c273af',
    500: '#a3318e',
    950: '#000000',
  },
}
SCSS
$custom: #a3318e;
$custom-light: #c273af;
$custom-dark: #000000;
JSON
{
  "hex": "#a3318e",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 311.053,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51621,
    "c": 0.18091,
    "h": 336.2
  },
  "luminance": 0.11936
}

Semantic roles & 50–950 ramp

primary
#A3318E
secondary
#71BF7F
accent
#DD664B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A3318E

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

Preview Lab → · Contrast checker → · Palette generator →

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