#A3217F#A3217F

#A3217F is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.5% C 0.188 H 342.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A3217F
RGBrgb(163, 33, 127)
HSLhsl(317, 66%, 38%)
HSVhsv(317, 80%, 64%)
CMYKcmyk(0%, 79.8%, 22.1%, 36.1%)
CIE-LABlab(38.57, 59.59, -21.58)
CIE-LCHlch(38.57, 63.38, 340.09°)
OKLaboklab(49.55% 0.1793 -0.058)
OKLCHoklch(49.55% 0.188 342.1)
XYZxyz(19.4796, 10.4086, 21.0578)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3217F #21A345
analogous
#8621A3 #A3217F #A3213E
triadic
#A3217F #7FA321 #217FA3
tetradic
#A3217F #A38621 #21A345 #213EA3
square
#A3217F #A38621 #21A345 #213EA3
split-complementary
#A3217F #3EA321 #21A386
monochromatic
#3D0C30 #701757 #A3217F #D42DA6 #DF60BC

Accessibility & contrast

On white

6.82
#A3217F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A3217F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3217F
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3217F#FFFFFF#000000##FFFFFF
##A3217F1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D81
Deuteranopia (green-blind)
#59627C
Tritanopia (blue-blind)
#AE234E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a3217f;
/* rgb */ color: rgb(163, 33, 127);
/* oklch */ color: oklch(49.5% 0.188 342.1);
Tailwind
colors: {
  custom: {
    50: '#c26ca4',
    500: '#a3217f',
    950: '#000000',
  },
}
SCSS
$custom: #a3217f;
$custom-light: #c26ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#a3217f",
  "rgb": {
    "r": 163,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 316.615,
    "s": 66.327,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49546,
    "c": 0.18848,
    "h": 342.1
  },
  "luminance": 0.10407
}

Semantic roles & 50–950 ramp

primary
#A3217F
secondary
#5CC379
accent
#E96E3F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A3217F

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

Preview Lab → · Contrast checker → · Palette generator →

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