#A7216F#A7216F

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

Color values

HEX#A7216F
RGBrgb(167, 33, 111)
HSLhsl(325, 67%, 39%)
HSVhsv(325, 80%, 65%)
CMYKcmyk(0%, 80.2%, 33.5%, 34.5%)
CIE-LABlab(38.64, 58.61, -11.40)
CIE-LCHlch(38.64, 59.71, 348.99°)
OKLaboklab(49.52% 0.1797 -0.0297)
OKLCHoklch(49.52% 0.182 350.6)
XYZxyz(19.3506, 10.4532, 16.0345)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7216F #21A759
analogous
#9C21A7 #A7216F #A7212C
triadic
#A7216F #6FA721 #216FA7
tetradic
#A7216F #A79C21 #21A759 #212CA7
square
#A7216F #A79C21 #21A759 #212CA7
split-complementary
#A7216F #2CA721 #21A79C
monochromatic
#410D2B #74174D #A7216F #D62F90 #E062AC

Accessibility & contrast

On white

6.80
#A7216F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7216F
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7216F#FFFFFF#000000##FFFFFF
##A7216F1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4C71
Deuteranopia (green-blind)
#61636C
Tritanopia (blue-blind)
#B41546
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a7216f;
/* rgb */ color: rgb(167, 33, 111);
/* oklch */ color: oklch(49.5% 0.182 350.6);
Tailwind
colors: {
  custom: {
    50: '#c66c98',
    500: '#a7216f',
    950: '#000000',
  },
}
SCSS
$custom: #a7216f;
$custom-light: #c66c98;
$custom-dark: #000000;
JSON
{
  "hex": "#a7216f",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 325.075,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49521,
    "c": 0.18209,
    "h": 350.6
  },
  "luminance": 0.10451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7216F

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

Preview Lab → · Contrast checker → · Palette generator →

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