#A6216B#A6216B

#A6216B is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.179 H 352.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A6216B
RGBrgb(166, 33, 107)
HSLhsl(327, 67%, 39%)
HSVhsv(327, 80%, 65%)
CMYKcmyk(0%, 80.1%, 35.5%, 34.9%)
CIE-LABlab(38.30, 57.90, -9.42)
CIE-LCHlch(38.30, 58.67, 350.76°)
OKLaboklab(49.19% 0.1778 -0.0243)
OKLCHoklch(49.19% 0.179 352.2)
XYZxyz(18.9248, 10.2586, 14.8906)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6216B #21A65C
analogous
#9F21A6 #A6216B #A62128
triadic
#A6216B #6BA621 #216BA6
tetradic
#A6216B #A69F21 #21A65C #2128A6
square
#A6216B #A69F21 #21A65C #2128A6
split-complementary
#A6216B #28A621 #21A69F
monochromatic
#400D29 #73174A #A6216B #D62F8C #E062A8

Accessibility & contrast

On white

6.88
#A6216B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A6216B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6216B
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6216B#FFFFFF#000000##FFFFFF
##A6216B1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4B6D
Deuteranopia (green-blind)
#616368
Tritanopia (blue-blind)
#B31244
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a6216b;
/* rgb */ color: rgb(166, 33, 107);
/* oklch */ color: oklch(49.2% 0.179 352.2);
Tailwind
colors: {
  custom: {
    50: '#c56c95',
    500: '#a6216b',
    950: '#000000',
  },
}
SCSS
$custom: #a6216b;
$custom-light: #c56c95;
$custom-dark: #000000;
JSON
{
  "hex": "#a6216b",
  "rgb": {
    "r": 166,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 326.617,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49189,
    "c": 0.17944,
    "h": 352.2
  },
  "luminance": 0.10256
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6216B

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

Preview Lab → · Contrast checker → · Palette generator →

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