#A8216B#A8216B

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

Color values

HEX#A8216B
RGBrgb(168, 33, 107)
HSLhsl(327, 67%, 39%)
HSVhsv(327, 80%, 66%)
CMYKcmyk(0%, 80.4%, 36.3%, 34.1%)
CIE-LABlab(38.68, 58.42, -8.80)
CIE-LCHlch(38.68, 59.08, 351.43°)
OKLaboklab(49.54% 0.1795 -0.0226)
OKLCHoklch(49.54% 0.181 352.8)
XYZxyz(19.3474, 10.4765, 14.9104)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8216B #21A85E
analogous
#A221A8 #A8216B #A82128
triadic
#A8216B #6BA821 #216BA8
tetradic
#A8216B #A8A221 #21A85E #2128A8
square
#A8216B #A8A221 #21A85E #2128A8
split-complementary
#A8216B #28A821 #21A8A2
monochromatic
#420D2A #75174A #A8216B #D6308B #E063A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8216B#FFFFFF#000000##FFFFFF
##A8216B1.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)
#3C4C6D
Deuteranopia (green-blind)
#626468
Tritanopia (blue-blind)
#B51044
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a8216b;
/* rgb */ color: rgb(168, 33, 107);
/* oklch */ color: oklch(49.5% 0.181 352.8);
Tailwind
colors: {
  custom: {
    50: '#c76c95',
    500: '#a8216b',
    950: '#000000',
  },
}
SCSS
$custom: #a8216b;
$custom-light: #c76c95;
$custom-dark: #000000;
JSON
{
  "hex": "#a8216b",
  "rgb": {
    "r": 168,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 327.111,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49536,
    "c": 0.18089,
    "h": 352.8
  },
  "luminance": 0.10474
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8216B

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

Preview Lab → · Contrast checker → · Palette generator →

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