#A7216C#A7216C

#A7216C is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.181 H 352.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A7216C
RGBrgb(167, 33, 108)
HSLhsl(326, 67%, 39%)
HSVhsv(326, 80%, 65%)
CMYKcmyk(0%, 80.2%, 35.3%, 34.5%)
CIE-LABlab(38.53, 58.27, -9.69)
CIE-LCHlch(38.53, 59.07, 350.56°)
OKLaboklab(49.4% 0.1789 -0.025)
OKLCHoklch(49.4% 0.181 352)
XYZxyz(19.1882, 10.3883, 15.1791)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7216C #21A75C
analogous
#9F21A7 #A7216C #A72129
triadic
#A7216C #6CA721 #216CA7
tetradic
#A7216C #A79F21 #21A75C #2129A7
square
#A7216C #A79F21 #21A75C #2129A7
split-complementary
#A7216C #29A721 #21A79F
monochromatic
#410D2A #74174B #A7216C #D62F8D #E062A9

Accessibility & contrast

On white

6.82
#A7216C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7216C
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7216C#FFFFFF#000000##FFFFFF
##A7216C1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4B6E
Deuteranopia (green-blind)
#626369
Tritanopia (blue-blind)
#B41244
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a7216c;
/* rgb */ color: rgb(167, 33, 108);
/* oklch */ color: oklch(49.4% 0.181 352.0);
Tailwind
colors: {
  custom: {
    50: '#c66c96',
    500: '#a7216c',
    950: '#000000',
  },
}
SCSS
$custom: #a7216c;
$custom-light: #c66c96;
$custom-dark: #000000;
JSON
{
  "hex": "#a7216c",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 326.418,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49401,
    "c": 0.18064,
    "h": 352
  },
  "luminance": 0.10386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7216C

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

Preview Lab → · Contrast checker → · Palette generator →

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