#A0217A#A0217A

#A0217A is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.8% C 0.184 H 343.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#A0217A
RGBrgb(160, 33, 122)
HSLhsl(318, 66%, 38%)
HSVhsv(318, 79%, 63%)
CMYKcmyk(0%, 79.4%, 23.7%, 37.3%)
CIE-LABlab(37.79, 58.22, -19.72)
CIE-LCHlch(37.79, 61.47, 341.29°)
OKLaboklab(48.81% 0.1758 -0.0528)
OKLCHoklch(48.81% 0.184 343.3)
XYZxyz(18.5546, 9.9684, 19.3555)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0217A #21A047
analogous
#8621A0 #A0217A #A0213A
triadic
#A0217A #7AA021 #217AA0
tetradic
#A0217A #A08621 #21A047 #213AA0
square
#A0217A #A08621 #21A047 #213AA0
split-complementary
#A0217A #3AA021 #21A086
monochromatic
#3B0C2D #6D1753 #A0217A #D32BA1 #DE5EB7

Accessibility & contrast

On white

7.02
#A0217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#A0217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A0217A
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0217A#FFFFFF#000000##FFFFFF
##A0217A1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7C
Deuteranopia (green-blind)
#586077
Tritanopia (blue-blind)
#AB214C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a0217a;
/* rgb */ color: rgb(160, 33, 122);
/* oklch */ color: oklch(48.8% 0.184 343.3);
Tailwind
colors: {
  custom: {
    50: '#c06ba0',
    500: '#a0217a',
    950: '#000000',
  },
}
SCSS
$custom: #a0217a;
$custom-light: #c06ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#a0217a",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 317.953,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48807,
    "c": 0.18355,
    "h": 343.3
  },
  "luminance": 0.09966
}

Semantic roles & 50–950 ramp

primary
#A0217A
secondary
#5BC27A
accent
#E9723F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #A0217A

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

Preview Lab → · Contrast checker → · Palette generator →

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