#A6218A#A6218A

#A6218A is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.6% C 0.197 H 338.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A6218A
RGBrgb(166, 33, 138)
HSLhsl(313, 67%, 39%)
HSVhsv(313, 80%, 65%)
CMYKcmyk(0%, 80.1%, 16.9%, 34.9%)
CIE-LABlab(39.63, 61.79, -26.66)
CIE-LCHlch(39.63, 67.29, 336.66°)
OKLaboklab(50.59% 0.1835 -0.0724)
OKLCHoklch(50.59% 0.197 338.5)
XYZxyz(20.8577, 11.0318, 25.0707)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6218A #21A63D
analogous
#8021A6 #A6218A #A62147
triadic
#A6218A #8AA621 #218AA6
tetradic
#A6218A #A68021 #21A63D #2147A6
square
#A6218A #A68021 #21A63D #2147A6
split-complementary
#A6218A #47A621 #21A680
monochromatic
#400D35 #731760 #A6218A #D62FB2 #E062C5

Accessibility & contrast

On white

6.55
#A6218A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A6218A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6218A
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6218A#FFFFFF#000000##FFFFFF
##A6218A1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508D
Deuteranopia (green-blind)
#576587
Tritanopia (blue-blind)
#B02954
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a6218a;
/* rgb */ color: rgb(166, 33, 138);
/* oklch */ color: oklch(50.6% 0.197 338.5);
Tailwind
colors: {
  custom: {
    50: '#c46dac',
    500: '#a6218a',
    950: '#000000',
  },
}
SCSS
$custom: #a6218a;
$custom-light: #c46dac;
$custom-dark: #000000;
JSON
{
  "hex": "#a6218a",
  "rgb": {
    "r": 166,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 312.632,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50586,
    "c": 0.19725,
    "h": 338.5
  },
  "luminance": 0.1103
}

Semantic roles & 50–950 ramp

primary
#A6218A
secondary
#5EC574
accent
#EA623E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6218A

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

Preview Lab → · Contrast checker → · Palette generator →

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