#A4217A#A4217A

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

Color values

HEX#A4217A
RGBrgb(164, 33, 122)
HSLhsl(319, 66%, 39%)
HSVhsv(319, 80%, 64%)
CMYKcmyk(0%, 79.9%, 25.6%, 35.7%)
CIE-LABlab(38.53, 59.19, -18.51)
CIE-LCHlch(38.53, 62.01, 342.63°)
OKLaboklab(49.48% 0.1794 -0.0494)
OKLCHoklch(49.48% 0.186 344.6)
XYZxyz(19.3674, 10.3875, 19.3936)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4217A #21A44B
analogous
#8C21A4 #A4217A #A42138
triadic
#A4217A #7AA421 #217AA4
tetradic
#A4217A #A48C21 #21A44B #2138A4
square
#A4217A #A48C21 #21A44B #2138A4
split-complementary
#A4217A #38A421 #21A48C
monochromatic
#3E0C2E #711754 #A4217A #D52D9F #DF60B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A4217A#FFFFFF#000000##FFFFFF
##A4217A1.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)
#334D7C
Deuteranopia (green-blind)
#5B6277
Tritanopia (blue-blind)
#AF1F4C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a4217a;
/* rgb */ color: rgb(164, 33, 122);
/* oklch */ color: oklch(49.5% 0.186 344.6);
Tailwind
colors: {
  custom: {
    50: '#c36ca0',
    500: '#a4217a',
    950: '#000000',
  },
}
SCSS
$custom: #a4217a;
$custom-light: #c36ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#a4217a",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 319.237,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49481,
    "c": 0.18608,
    "h": 344.6
  },
  "luminance": 0.10385
}

Semantic roles & 50–950 ramp

primary
#A4217A
secondary
#5DC47E
accent
#E9753E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #A4217A

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

Preview Lab → · Contrast checker → · Palette generator →

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