#A3318B#A3318B

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

Color values

HEX#A3318B
RGBrgb(163, 49, 139)
HSLhsl(313, 54%, 42%)
HSVhsv(313, 70%, 64%)
CMYKcmyk(0%, 69.9%, 14.7%, 36.1%)
CIE-LABlab(40.98, 56.03, -25.22)
CIE-LCHlch(40.98, 61.45, 335.76°)
OKLaboklab(51.47% 0.1651 -0.0684)
OKLCHoklch(51.47% 0.179 337.5)
XYZxyz(20.8631, 11.8491, 25.6094)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3318B #31A349
analogous
#8231A3 #A3318B #A33152
triadic
#A3318B #8BA331 #318BA3
tetradic
#A3318B #A38231 #31A349 #3152A3
square
#A3318B #A38231 #31A349 #3152A3
split-complementary
#A3318B #52A331 #31A382
monochromatic
#45153B #742363 #A3318B #C849AD #D678C3

Accessibility & contrast

On white

6.23
#A3318B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A3318B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3318B
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3318B#FFFFFF#000000##FFFFFF
##A3318B1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558E
Deuteranopia (green-blind)
#5A6788
Tritanopia (blue-blind)
#AC375A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a3318b;
/* rgb */ color: rgb(163, 49, 139);
/* oklch */ color: oklch(51.5% 0.179 337.5);
Tailwind
colors: {
  custom: {
    50: '#c273ad',
    500: '#a3318b',
    950: '#000000',
  },
}
SCSS
$custom: #a3318b;
$custom-light: #c273ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a3318b",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 139
  },
  "hsl": {
    "h": 312.632,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51471,
    "c": 0.17874,
    "h": 337.5
  },
  "luminance": 0.11847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A3318B

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

Preview Lab → · Contrast checker → · Palette generator →

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