#A4217D#A4217D

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

Color values

HEX#A4217D
RGBrgb(164, 33, 125)
HSLhsl(318, 66%, 39%)
HSVhsv(318, 80%, 64%)
CMYKcmyk(0%, 79.9%, 23.8%, 35.7%)
CIE-LABlab(38.66, 59.57, -20.18)
CIE-LCHlch(38.66, 62.90, 341.29°)
OKLaboklab(49.62% 0.1799 -0.054)
OKLCHoklch(49.62% 0.188 343.3)
XYZxyz(19.5561, 10.4630, 20.3877)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4217D #21A448
analogous
#8921A4 #A4217D #A4213B
triadic
#A4217D #7DA421 #217DA4
tetradic
#A4217D #A48921 #21A448 #213BA4
square
#A4217D #A48921 #21A448 #213BA4
split-complementary
#A4217D #3BA421 #21A489
monochromatic
#3E0C2F #711756 #A4217D #D52DA3 #DF60B9

Accessibility & contrast

On white

6.79
#A4217D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A4217D
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4217D#FFFFFF#000000##FFFFFF
##A4217D1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7F
Deuteranopia (green-blind)
#5A637A
Tritanopia (blue-blind)
#AF214D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a4217d;
/* rgb */ color: rgb(164, 33, 125);
/* oklch */ color: oklch(49.6% 0.188 343.3);
Tailwind
colors: {
  custom: {
    50: '#c36ca3',
    500: '#a4217d',
    950: '#000000',
  },
}
SCSS
$custom: #a4217d;
$custom-light: #c36ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#a4217d",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 317.863,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4962,
    "c": 0.18787,
    "h": 343.3
  },
  "luminance": 0.10461
}

Semantic roles & 50–950 ramp

primary
#A4217D
secondary
#5DC47C
accent
#E9713E
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A4217D

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

Preview Lab → · Contrast checker → · Palette generator →

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