#A4217F#A4217F

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

Color values

HEX#A4217F
RGBrgb(164, 33, 127)
HSLhsl(317, 66%, 39%)
HSVhsv(317, 80%, 64%)
CMYKcmyk(0%, 79.9%, 22.6%, 35.7%)
CIE-LABlab(38.75, 59.83, -21.28)
CIE-LCHlch(38.75, 63.50, 340.42°)
OKLaboklab(49.71% 0.1803 -0.0571)
OKLCHoklch(49.71% 0.189 342.4)
XYZxyz(19.6852, 10.5146, 21.0674)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4217F #21A446
analogous
#8721A4 #A4217F #A4213D
triadic
#A4217F #7FA421 #217FA4
tetradic
#A4217F #A48721 #21A446 #213DA4
square
#A4217F #A48721 #21A446 #213DA4
split-complementary
#A4217F #3DA421 #21A487
monochromatic
#3E0C30 #711758 #A4217F #D52DA6 #DF60BB

Accessibility & contrast

On white

6.77
#A4217F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A4217F
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4217F#FFFFFF#000000##FFFFFF
##A4217F1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4217f;
/* rgb */ color: rgb(164, 33, 127);
/* oklch */ color: oklch(49.7% 0.189 342.4);
Tailwind
colors: {
  custom: {
    50: '#c36ca4',
    500: '#a4217f',
    950: '#000000',
  },
}
SCSS
$custom: #a4217f;
$custom-light: #c36ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#a4217f",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 316.947,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49714,
    "c": 0.18909,
    "h": 342.4
  },
  "luminance": 0.10513
}

Semantic roles & 50–950 ramp

primary
#A4217F
secondary
#5DC47A
accent
#E96F3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A4217F

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

Preview Lab → · Contrast checker → · Palette generator →

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