#A4217C#A4217C

#A4217C is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.6% C 0.187 H 343.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#A4217C
RGBrgb(164, 33, 124)
HSLhsl(318, 66%, 39%)
HSVhsv(318, 80%, 64%)
CMYKcmyk(0%, 79.9%, 24.4%, 35.7%)
CIE-LABlab(38.62, 59.44, -19.62)
CIE-LCHlch(38.62, 62.60, 341.73°)
OKLaboklab(49.57% 0.1798 -0.0525)
OKLCHoklch(49.57% 0.187 343.7)
XYZxyz(19.4926, 10.4376, 20.0530)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4217C #21A449
analogous
#8A21A4 #A4217C #A4213A
triadic
#A4217C #7CA421 #217CA4
tetradic
#A4217C #A48A21 #21A449 #213AA4
square
#A4217C #A48A21 #21A449 #213AA4
split-complementary
#A4217C #3AA421 #21A48A
monochromatic
#3E0C2F #711755 #A4217C #D52DA2 #DF60B8

Accessibility & contrast

On white

6.80
#A4217C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A4217C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4217C
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4217C#FFFFFF#000000##FFFFFF
##A4217C1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7E
Deuteranopia (green-blind)
#5B6379
Tritanopia (blue-blind)
#AF204D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a4217c;
/* rgb */ color: rgb(164, 33, 124);
/* oklch */ color: oklch(49.6% 0.187 343.7);
Tailwind
colors: {
  custom: {
    50: '#c36ca2',
    500: '#a4217c',
    950: '#000000',
  },
}
SCSS
$custom: #a4217c;
$custom-light: #c36ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#a4217c",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 318.321,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49573,
    "c": 0.18726,
    "h": 343.7
  },
  "luminance": 0.10435
}

Semantic roles & 50–950 ramp

primary
#A4217C
secondary
#5DC47C
accent
#E9733E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080F
muted
#827A7E

Preview Lab

Preview with #A4217C

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

Preview Lab → · Contrast checker → · Palette generator →

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