#A3317E#A3317E

#A3317E is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.170 H 343.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A3317E
RGBrgb(163, 49, 126)
HSLhsl(319, 54%, 42%)
HSVhsv(319, 70%, 64%)
CMYKcmyk(0%, 69.9%, 22.7%, 36.1%)
CIE-LABlab(40.40, 54.16, -18.14)
CIE-LCHlch(40.40, 57.11, 341.48°)
OKLaboklab(50.86% 0.1629 -0.0484)
OKLCHoklch(50.86% 0.17 343.4)
XYZxyz(19.9692, 11.4915, 20.9010)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3317E #31A356
analogous
#8F31A3 #A3317E #A33145
triadic
#A3317E #7EA331 #317EA3
tetradic
#A3317E #A38F31 #31A356 #3145A3
square
#A3317E #A38F31 #31A356 #3145A3
split-complementary
#A3317E #45A331 #31A38F
monochromatic
#451535 #74235A #A3317E #C8499F #D678B8

Accessibility & contrast

On white

6.37
#A3317E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A3317E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3317E
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3317E#FFFFFF#000000##FFFFFF
##A3317E1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5380
Deuteranopia (green-blind)
#5F667B
Tritanopia (blue-blind)
#AD3153
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a3317e;
/* rgb */ color: rgb(163, 49, 126);
/* oklch */ color: oklch(50.9% 0.170 343.4);
Tailwind
colors: {
  custom: {
    50: '#c273a3',
    500: '#a3317e',
    950: '#000000',
  },
}
SCSS
$custom: #a3317e;
$custom-light: #c273a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a3317e",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 319.474,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50861,
    "c": 0.16995,
    "h": 343.4
  },
  "luminance": 0.1149
}

Semantic roles & 50–950 ramp

primary
#A3317E
secondary
#71BF8A
accent
#DD7A4B
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A3317E

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

Preview Lab → · Contrast checker → · Palette generator →

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