#A8216C#A8216C

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

Color values

HEX#A8216C
RGBrgb(168, 33, 108)
HSLhsl(327, 67%, 39%)
HSVhsv(327, 80%, 66%)
CMYKcmyk(0%, 80.4%, 35.7%, 34.1%)
CIE-LABlab(38.72, 58.52, -9.38)
CIE-LCHlch(38.72, 59.27, 350.90°)
OKLaboklab(49.58% 0.1797 -0.0242)
OKLCHoklch(49.58% 0.181 352.3)
XYZxyz(19.4003, 10.4977, 15.1891)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8216C #21A85D
analogous
#A121A8 #A8216C #A82128
triadic
#A8216C #6CA821 #216CA8
tetradic
#A8216C #A8A121 #21A85D #2128A8
square
#A8216C #A8A121 #21A85D #2128A8
split-complementary
#A8216C #28A821 #21A8A1
monochromatic
#420D2A #75174B #A8216C #D6308C #E063A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8216C#FFFFFF#000000##FFFFFF
##A8216C1.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)
#3C4C6E
Deuteranopia (green-blind)
#626469
Tritanopia (blue-blind)
#B51144
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a8216c;
/* rgb */ color: rgb(168, 33, 108);
/* oklch */ color: oklch(49.6% 0.181 352.3);
Tailwind
colors: {
  custom: {
    50: '#c76c96',
    500: '#a8216c',
    950: '#000000',
  },
}
SCSS
$custom: #a8216c;
$custom-light: #c76c96;
$custom-dark: #000000;
JSON
{
  "hex": "#a8216c",
  "rgb": {
    "r": 168,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 326.667,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49575,
    "c": 0.18136,
    "h": 352.3
  },
  "luminance": 0.10495
}

Semantic roles & 50–950 ramp

primary
#A8216C
secondary
#5FC58D
accent
#EA8A3E
background
#FCF6F9
surface
#F9ECF1
border
#D2C7CB
text
#14080D
muted
#827A7E

Preview Lab

Preview with #A8216C

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

Preview Lab → · Contrast checker → · Palette generator →

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