#A6218B#A6218B

#A6218B is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.6% C 0.198 H 338.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A6218B
RGBrgb(166, 33, 139)
HSLhsl(312, 67%, 39%)
HSVhsv(312, 80%, 65%)
CMYKcmyk(0%, 80.1%, 16.3%, 34.9%)
CIE-LABlab(39.68, 61.93, -27.20)
CIE-LCHlch(39.68, 67.64, 336.29°)
OKLaboklab(50.64% 0.1836 -0.0739)
OKLCHoklch(50.64% 0.198 338.1)
XYZxyz(20.9304, 11.0608, 25.4537)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6218B #21A63C
analogous
#7F21A6 #A6218B #A62149
triadic
#A6218B #8BA621 #218BA6
tetradic
#A6218B #A67F21 #21A63C #2149A6
square
#A6218B #A67F21 #21A63C #2149A6
split-complementary
#A6218B #49A621 #21A67F
monochromatic
#400D36 #731760 #A6218B #D62FB4 #E062C6

Accessibility & contrast

On white

6.54
#A6218B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6218B
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6218B#FFFFFF#000000##FFFFFF
##A6218B1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508E
Deuteranopia (green-blind)
#576588
Tritanopia (blue-blind)
#B02955
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a6218b;
/* rgb */ color: rgb(166, 33, 139);
/* oklch */ color: oklch(50.6% 0.198 338.1);
Tailwind
colors: {
  custom: {
    50: '#c46dad',
    500: '#a6218b',
    950: '#000000',
  },
}
SCSS
$custom: #a6218b;
$custom-light: #c46dad;
$custom-dark: #000000;
JSON
{
  "hex": "#a6218b",
  "rgb": {
    "r": 166,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 312.18,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50637,
    "c": 0.19791,
    "h": 338.1
  },
  "luminance": 0.11059
}

Semantic roles & 50–950 ramp

primary
#A6218B
secondary
#5EC573
accent
#EA613E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6218B

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

Preview Lab → · Contrast checker → · Palette generator →

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