#A6218F#A6218F

#A6218F is a mid, highly saturated pink. Relative luminance 0.112; OKLCH L 50.8% C 0.201 H 336.5°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A6218F
RGBrgb(166, 33, 143)
HSLhsl(310, 67%, 39%)
HSVhsv(310, 80%, 65%)
CMYKcmyk(0%, 80.1%, 13.9%, 34.9%)
CIE-LABlab(39.88, 62.49, -29.34)
CIE-LCHlch(39.88, 69.03, 334.85°)
OKLaboklab(50.85% 0.1839 -0.08)
OKLCHoklch(50.85% 0.201 336.5)
XYZxyz(21.2281, 11.1799, 27.0212)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6218F #21A638
analogous
#7B21A6 #A6218F #A6214D
triadic
#A6218F #8FA621 #218FA6
tetradic
#A6218F #A67B21 #21A638 #214DA6
square
#A6218F #A67B21 #21A638 #214DA6
split-complementary
#A6218F #4DA621 #21A67B
monochromatic
#400D37 #731763 #A6218F #D62FB9 #E062CA

Accessibility & contrast

On white

6.49
#A6218F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A6218F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6218F
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6218F#FFFFFF#000000##FFFFFF
##A6218F1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245192
Deuteranopia (green-blind)
#55658C
Tritanopia (blue-blind)
#AF2C57
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a6218f;
/* rgb */ color: rgb(166, 33, 143);
/* oklch */ color: oklch(50.8% 0.201 336.5);
Tailwind
colors: {
  custom: {
    50: '#c46db0',
    500: '#a6218f',
    950: '#000000',
  },
}
SCSS
$custom: #a6218f;
$custom-light: #c46db0;
$custom-dark: #000000;
JSON
{
  "hex": "#a6218f",
  "rgb": {
    "r": 166,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 310.376,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50845,
    "c": 0.20058,
    "h": 336.5
  },
  "luminance": 0.11178
}

Semantic roles & 50–950 ramp

primary
#A6218F
secondary
#5EC570
accent
#EA5C3E
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6218F

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

Preview Lab → · Contrast checker → · Palette generator →

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