#A7216B#A7216B

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

Color values

HEX#A7216B
RGBrgb(167, 33, 107)
HSLhsl(327, 67%, 39%)
HSVhsv(327, 80%, 65%)
CMYKcmyk(0%, 80.2%, 35.9%, 34.5%)
CIE-LABlab(38.49, 58.16, -9.11)
CIE-LCHlch(38.49, 58.87, 351.10°)
OKLaboklab(49.36% 0.1786 -0.0234)
OKLCHoklch(49.36% 0.18 352.5)
XYZxyz(19.1353, 10.3671, 14.9005)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7216B #21A75D
analogous
#A021A7 #A7216B #A72128
triadic
#A7216B #6BA721 #216BA7
tetradic
#A7216B #A7A021 #21A75D #2128A7
square
#A7216B #A7A021 #21A75D #2128A7
split-complementary
#A7216B #28A721 #21A7A0
monochromatic
#410D2A #74174A #A7216B #D62F8B #E062A8

Accessibility & contrast

On white

6.83
#A7216B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A7216B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7216B
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7216B#FFFFFF#000000##FFFFFF
##A7216B1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4B6D
Deuteranopia (green-blind)
#626368
Tritanopia (blue-blind)
#B41144
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a7216b;
/* rgb */ color: rgb(167, 33, 107);
/* oklch */ color: oklch(49.4% 0.180 352.5);
Tailwind
colors: {
  custom: {
    50: '#c66c95',
    500: '#a7216b',
    950: '#000000',
  },
}
SCSS
$custom: #a7216b;
$custom-light: #c66c95;
$custom-dark: #000000;
JSON
{
  "hex": "#a7216b",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 326.866,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49362,
    "c": 0.18016,
    "h": 352.5
  },
  "luminance": 0.10365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7216B

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

Preview Lab → · Contrast checker → · Palette generator →

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