#A7216E#A7216E

#A7216E is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.5% C 0.182 H 351.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#A7216E
RGBrgb(167, 33, 110)
HSLhsl(326, 67%, 39%)
HSVhsv(326, 80%, 65%)
CMYKcmyk(0%, 80.2%, 34.1%, 34.5%)
CIE-LABlab(38.61, 58.49, -10.83)
CIE-LCHlch(38.61, 59.49, 349.51°)
OKLaboklab(49.48% 0.1794 -0.0281)
OKLCHoklch(49.48% 0.182 351.1)
XYZxyz(19.2958, 10.4313, 15.7461)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7216E #21A75A
analogous
#9D21A7 #A7216E #A7212B
triadic
#A7216E #6EA721 #216EA7
tetradic
#A7216E #A79D21 #21A75A #212BA7
square
#A7216E #A79D21 #21A75A #212BA7
split-complementary
#A7216E #2BA721 #21A79D
monochromatic
#410D2B #74174C #A7216E #D62F8F #E062AB

Accessibility & contrast

On white

6.81
#A7216E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7216E
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7216E#FFFFFF#000000##FFFFFF
##A7216E1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4C70
Deuteranopia (green-blind)
#61636B
Tritanopia (blue-blind)
#B41445
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a7216e;
/* rgb */ color: rgb(167, 33, 110);
/* oklch */ color: oklch(49.5% 0.182 351.1);
Tailwind
colors: {
  custom: {
    50: '#c66c97',
    500: '#a7216e',
    950: '#000000',
  },
}
SCSS
$custom: #a7216e;
$custom-light: #c66c97;
$custom-dark: #000000;
JSON
{
  "hex": "#a7216e",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 325.522,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49481,
    "c": 0.1816,
    "h": 351.1
  },
  "luminance": 0.10429
}

Semantic roles & 50–950 ramp

primary
#A7216E
secondary
#5FC58A
accent
#EA873E
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#14080D
muted
#827A7E

Preview Lab

Preview with #A7216E

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

Preview Lab → · Contrast checker → · Palette generator →

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