#A6218D#A6218D

#A6218D is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.7% C 0.199 H 337.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A6218D
RGBrgb(166, 33, 141)
HSLhsl(311, 67%, 39%)
HSVhsv(311, 80%, 65%)
CMYKcmyk(0%, 80.1%, 15.1%, 34.9%)
CIE-LABlab(39.78, 62.21, -28.27)
CIE-LCHlch(39.78, 68.33, 335.56°)
OKLaboklab(50.74% 0.1838 -0.077)
OKLCHoklch(50.74% 0.199 337.3)
XYZxyz(21.0779, 11.1198, 26.2304)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6218D #21A63A
analogous
#7D21A6 #A6218D #A6214B
triadic
#A6218D #8DA621 #218DA6
tetradic
#A6218D #A67D21 #21A63A #214BA6
square
#A6218D #A67D21 #21A63A #214BA6
split-complementary
#A6218D #4BA621 #21A67D
monochromatic
#400D36 #731762 #A6218D #D62FB6 #E062C8

Accessibility & contrast

On white

6.51
#A6218D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A6218D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6218D
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6218D#FFFFFF#000000##FFFFFF
##A6218D1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265190
Deuteranopia (green-blind)
#56658A
Tritanopia (blue-blind)
#AF2A56
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a6218d;
/* rgb */ color: rgb(166, 33, 141);
/* oklch */ color: oklch(50.7% 0.199 337.3);
Tailwind
colors: {
  custom: {
    50: '#c46dae',
    500: '#a6218d',
    950: '#000000',
  },
}
SCSS
$custom: #a6218d;
$custom-light: #c46dae;
$custom-dark: #000000;
JSON
{
  "hex": "#a6218d",
  "rgb": {
    "r": 166,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 311.278,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.5074,
    "c": 0.19924,
    "h": 337.3
  },
  "luminance": 0.11118
}

Semantic roles & 50–950 ramp

primary
#A6218D
secondary
#5EC571
accent
#EA5E3E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6218D

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

Preview Lab → · Contrast checker → · Palette generator →

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