#A6217A#A6217A

#A6217A is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.8% C 0.187 H 345.3°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A6217A
RGBrgb(166, 33, 122)
HSLhsl(320, 67%, 39%)
HSVhsv(320, 80%, 65%)
CMYKcmyk(0%, 80.1%, 26.5%, 34.9%)
CIE-LABlab(38.90, 59.67, -17.91)
CIE-LCHlch(38.90, 62.30, 343.30°)
OKLaboklab(49.82% 0.1812 -0.0476)
OKLCHoklch(49.82% 0.187 345.3)
XYZxyz(19.7835, 10.6021, 19.4131)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6217A #21A64D
analogous
#9021A6 #A6217A #A62137
triadic
#A6217A #7AA621 #217AA6
tetradic
#A6217A #A69021 #21A64D #2137A6
square
#A6217A #A69021 #21A64D #2137A6
split-complementary
#A6217A #37A621 #21A690
monochromatic
#400D2F #731754 #A6217A #D62F9E #E062B6

Accessibility & contrast

On white

6.73
#A6217A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A6217A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6217A
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6217A#FFFFFF#000000##FFFFFF
##A6217A1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344D7C
Deuteranopia (green-blind)
#5D6477
Tritanopia (blue-blind)
#B21E4C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a6217a;
/* rgb */ color: rgb(166, 33, 122);
/* oklch */ color: oklch(49.8% 0.187 345.3);
Tailwind
colors: {
  custom: {
    50: '#c56ca0',
    500: '#a6217a',
    950: '#000000',
  },
}
SCSS
$custom: #a6217a;
$custom-light: #c56ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#a6217a",
  "rgb": {
    "r": 166,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 319.85,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4982,
    "c": 0.18735,
    "h": 345.3
  },
  "luminance": 0.106
}

Semantic roles & 50–950 ramp

primary
#A6217A
secondary
#5EC580
accent
#EA773E
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A6217A

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

Preview Lab → · Contrast checker → · Palette generator →

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