#A3318F#A3318F

#A3318F is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.182 H 335.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A3318F
RGBrgb(163, 49, 143)
HSLhsl(311, 54%, 42%)
HSVhsv(311, 70%, 64%)
CMYKcmyk(0%, 69.9%, 12.3%, 36.1%)
CIE-LABlab(41.17, 56.64, -27.36)
CIE-LCHlch(41.17, 62.90, 334.21°)
OKLaboklab(51.67% 0.1656 -0.0745)
OKLCHoklch(51.67% 0.182 335.8)
XYZxyz(21.1608, 11.9682, 27.1769)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3318F #31A345
analogous
#7E31A3 #A3318F #A33156
triadic
#A3318F #8FA331 #318FA3
tetradic
#A3318F #A37E31 #31A345 #3156A3
square
#A3318F #A37E31 #31A345 #3156A3
split-complementary
#A3318F #56A331 #31A37E
monochromatic
#45153C #742366 #A3318F #C849B2 #D678C6

Accessibility & contrast

On white

6.19
#A3318F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A3318F
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3318F#FFFFFF#000000##FFFFFF
##A3318F1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325692
Deuteranopia (green-blind)
#58678C
Tritanopia (blue-blind)
#AB395C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a3318f;
/* rgb */ color: rgb(163, 49, 143);
/* oklch */ color: oklch(51.7% 0.182 335.8);
Tailwind
colors: {
  custom: {
    50: '#c273b0',
    500: '#a3318f',
    950: '#000000',
  },
}
SCSS
$custom: #a3318f;
$custom-light: #c273b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a3318f",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 310.526,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51671,
    "c": 0.18163,
    "h": 335.8
  },
  "luminance": 0.11966
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A3318F

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

Preview Lab → · Contrast checker → · Palette generator →

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