#A8218D#A8218D

#A8218D is a mid, highly saturated pink. Relative luminance 0.113; OKLCH L 51.1% C 0.200 H 337.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A8218D
RGBrgb(168, 33, 141)
HSLhsl(312, 67%, 39%)
HSVhsv(312, 80%, 66%)
CMYKcmyk(0%, 80.4%, 16.1%, 34.1%)
CIE-LABlab(40.14, 62.66, -27.68)
CIE-LCHlch(40.14, 68.50, 336.17°)
OKLaboklab(51.07% 0.1857 -0.0752)
OKLCHoklch(51.07% 0.2 337.9)
XYZxyz(21.5005, 11.3377, 26.2502)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8218D #21A83C
analogous
#8021A8 #A8218D #A8214A
triadic
#A8218D #8DA821 #218DA8
tetradic
#A8218D #A88021 #21A83C #214AA8
square
#A8218D #A88021 #21A83C #214AA8
split-complementary
#A8218D #4AA821 #21A880
monochromatic
#420D37 #751762 #A8218D #D630B5 #E063C7

Accessibility & contrast

On white

6.43
#A8218D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A8218D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8218D
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8218D#FFFFFF#000000##FFFFFF
##A8218D1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285190
Deuteranopia (green-blind)
#57668A
Tritanopia (blue-blind)
#B22A56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a8218d;
/* rgb */ color: rgb(168, 33, 141);
/* oklch */ color: oklch(51.1% 0.200 337.9);
Tailwind
colors: {
  custom: {
    50: '#c66dae',
    500: '#a8218d',
    950: '#000000',
  },
}
SCSS
$custom: #a8218d;
$custom-light: #c66dae;
$custom-dark: #000000;
JSON
{
  "hex": "#a8218d",
  "rgb": {
    "r": 168,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 312,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51067,
    "c": 0.20034,
    "h": 337.9
  },
  "luminance": 0.11336
}

Semantic roles & 50–950 ramp

primary
#A8218D
secondary
#5FC574
accent
#EA603E
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8218D

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

Preview Lab → · Contrast checker → · Palette generator →

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