#A4217E#A4217E

#A4217E is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.7% C 0.188 H 342.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A4217E
RGBrgb(164, 33, 126)
HSLhsl(317, 66%, 39%)
HSVhsv(317, 80%, 64%)
CMYKcmyk(0%, 79.9%, 23.2%, 35.7%)
CIE-LABlab(38.71, 59.70, -20.73)
CIE-LCHlch(38.71, 63.20, 340.85°)
OKLaboklab(49.67% 0.1801 -0.0556)
OKLCHoklch(49.67% 0.188 342.8)
XYZxyz(19.6203, 10.4887, 20.7259)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4217E #21A447
analogous
#8821A4 #A4217E #A4213C
triadic
#A4217E #7EA421 #217EA4
tetradic
#A4217E #A48821 #21A447 #213CA4
square
#A4217E #A48821 #21A447 #213CA4
split-complementary
#A4217E #3CA421 #21A488
monochromatic
#3E0C30 #711757 #A4217E #D52DA4 #DF60BA

Accessibility & contrast

On white

6.78
#A4217E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A4217E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4217E
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4217E#FFFFFF#000000##FFFFFF
##A4217E1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D80
Deuteranopia (green-blind)
#5A637B
Tritanopia (blue-blind)
#AF224E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a4217e;
/* rgb */ color: rgb(164, 33, 126);
/* oklch */ color: oklch(49.7% 0.188 342.8);
Tailwind
colors: {
  custom: {
    50: '#c36ca3',
    500: '#a4217e',
    950: '#000000',
  },
}
SCSS
$custom: #a4217e;
$custom-light: #c36ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#a4217e",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 317.405,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49666,
    "c": 0.18847,
    "h": 342.8
  },
  "luminance": 0.10487
}

Semantic roles & 50–950 ramp

primary
#A4217E
secondary
#5DC47B
accent
#E9703E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A4217E

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

Preview Lab → · Contrast checker → · Palette generator →

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