#A6218C#A6218C

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

Color values

HEX#A6218C
RGBrgb(166, 33, 140)
HSLhsl(312, 67%, 39%)
HSVhsv(312, 80%, 65%)
CMYKcmyk(0%, 80.1%, 15.7%, 34.9%)
CIE-LABlab(39.73, 62.07, -27.74)
CIE-LCHlch(39.73, 67.98, 335.92°)
OKLaboklab(50.69% 0.1837 -0.0754)
OKLCHoklch(50.69% 0.199 337.7)
XYZxyz(21.0038, 11.0902, 25.8403)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6218C #21A63B
analogous
#7E21A6 #A6218C #A6214A
triadic
#A6218C #8CA621 #218CA6
tetradic
#A6218C #A67E21 #21A63B #214AA6
square
#A6218C #A67E21 #21A63B #214AA6
split-complementary
#A6218C #4AA621 #21A67E
monochromatic
#400D36 #731761 #A6218C #D62FB5 #E062C7

Accessibility & contrast

On white

6.53
#A6218C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6218C
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6218C#FFFFFF#000000##FFFFFF
##A6218C1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27518F
Deuteranopia (green-blind)
#566589
Tritanopia (blue-blind)
#AF2A56
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a6218c;
/* rgb */ color: rgb(166, 33, 140);
/* oklch */ color: oklch(50.7% 0.199 337.7);
Tailwind
colors: {
  custom: {
    50: '#c46dae',
    500: '#a6218c',
    950: '#000000',
  },
}
SCSS
$custom: #a6218c;
$custom-light: #c46dae;
$custom-dark: #000000;
JSON
{
  "hex": "#a6218c",
  "rgb": {
    "r": 166,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 311.729,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50688,
    "c": 0.19857,
    "h": 337.7
  },
  "luminance": 0.11088
}

Semantic roles & 50–950 ramp

primary
#A6218C
secondary
#5EC572
accent
#EA603E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6218C

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

Preview Lab → · Contrast checker → · Palette generator →

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