#A0218A#A0218A

#A0218A is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.6% C 0.194 H 336.4°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A0218A
RGBrgb(160, 33, 138)
HSLhsl(310, 66%, 38%)
HSVhsv(310, 79%, 63%)
CMYKcmyk(0%, 79.4%, 13.8%, 37.3%)
CIE-LABlab(38.55, 60.43, -28.44)
CIE-LCHlch(38.55, 66.78, 334.79°)
OKLaboklab(49.6% 0.1778 -0.0776)
OKLCHoklch(49.6% 0.194 336.4)
XYZxyz(19.6289, 10.3981, 25.0131)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0218A #21A037
analogous
#7721A0 #A0218A #A0214A
triadic
#A0218A #8AA021 #218AA0
tetradic
#A0218A #A07721 #21A037 #214AA0
square
#A0218A #A07721 #21A037 #214AA0
split-complementary
#A0218A #4AA021 #21A077
monochromatic
#3B0C32 #6D175E #A0218A #D32BB6 #DE5EC8

Accessibility & contrast

On white

6.82
#A0218A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A0218A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0218A
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0218A#FFFFFF#000000##FFFFFF
##A0218A1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8D
Deuteranopia (green-blind)
#526187
Tritanopia (blue-blind)
#A92B54
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a0218a;
/* rgb */ color: rgb(160, 33, 138);
/* oklch */ color: oklch(49.6% 0.194 336.4);
Tailwind
colors: {
  custom: {
    50: '#c06cac',
    500: '#a0218a',
    950: '#000000',
  },
}
SCSS
$custom: #a0218a;
$custom-light: #c06cac;
$custom-dark: #000000;
JSON
{
  "hex": "#a0218a",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 310.394,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49604,
    "c": 0.19394,
    "h": 336.4
  },
  "luminance": 0.10396
}

Semantic roles & 50–950 ramp

primary
#A0218A
secondary
#5BC26D
accent
#E95C3F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A0218A

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

Preview Lab → · Contrast checker → · Palette generator →

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