#A4217B#A4217B

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

Color values

HEX#A4217B
RGBrgb(164, 33, 123)
HSLhsl(319, 66%, 39%)
HSVhsv(319, 80%, 64%)
CMYKcmyk(0%, 79.9%, 25%, 35.7%)
CIE-LABlab(38.57, 59.31, -19.07)
CIE-LCHlch(38.57, 62.30, 342.18°)
OKLaboklab(49.53% 0.1796 -0.0509)
OKLCHoklch(49.53% 0.187 344.2)
XYZxyz(19.4297, 10.4124, 19.7216)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4217B #21A44A
analogous
#8B21A4 #A4217B #A42139
triadic
#A4217B #7BA421 #217BA4
tetradic
#A4217B #A48B21 #21A44A #2139A4
square
#A4217B #A48B21 #21A44A #2139A4
split-complementary
#A4217B #39A421 #21A48B
monochromatic
#3E0C2F #711755 #A4217B #D52DA0 #DF60B7

Accessibility & contrast

On white

6.81
#A4217B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A4217B
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4217B#FFFFFF#000000##FFFFFF
##A4217B1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7D
Deuteranopia (green-blind)
#5B6378
Tritanopia (blue-blind)
#AF204C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a4217b;
/* rgb */ color: rgb(164, 33, 123);
/* oklch */ color: oklch(49.5% 0.187 344.2);
Tailwind
colors: {
  custom: {
    50: '#c36ca1',
    500: '#a4217b',
    950: '#000000',
  },
}
SCSS
$custom: #a4217b;
$custom-light: #c36ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#a4217b",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 318.779,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49527,
    "c": 0.18667,
    "h": 344.2
  },
  "luminance": 0.1041
}

Semantic roles & 50–950 ramp

primary
#A4217B
secondary
#5DC47D
accent
#E9743E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080F
muted
#827A7E

Preview Lab

Preview with #A4217B

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

Preview Lab → · Contrast checker → · Palette generator →

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