#A0217B#A0217B

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

Color values

HEX#A0217B
RGBrgb(160, 33, 123)
HSLhsl(317, 66%, 38%)
HSVhsv(317, 79%, 63%)
CMYKcmyk(0%, 79.4%, 23.1%, 37.3%)
CIE-LABlab(37.83, 58.35, -20.28)
CIE-LCHlch(37.83, 61.77, 340.84°)
OKLaboklab(48.85% 0.176 -0.0544)
OKLCHoklch(48.85% 0.184 342.8)
XYZxyz(18.6169, 9.9934, 19.6835)
Luminance0.0999 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0217B #21A046
analogous
#8521A0 #A0217B #A0213C
triadic
#A0217B #7BA021 #217BA0
tetradic
#A0217B #A08521 #21A046 #213CA0
square
#A0217B #A08521 #21A046 #213CA0
split-complementary
#A0217B #3CA021 #21A085
monochromatic
#3B0C2D #6D1754 #A0217B #D32BA2 #DE5EB8

Accessibility & contrast

On white

7.00
#A0217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#A0217B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0217B
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0217B#FFFFFF#000000##FFFFFF
##A0217B1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7D
Deuteranopia (green-blind)
#586078
Tritanopia (blue-blind)
#AB224C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a0217b;
/* rgb */ color: rgb(160, 33, 123);
/* oklch */ color: oklch(48.9% 0.184 342.8);
Tailwind
colors: {
  custom: {
    50: '#c06ba1',
    500: '#a0217b',
    950: '#000000',
  },
}
SCSS
$custom: #a0217b;
$custom-light: #c06ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#a0217b",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 317.48,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48854,
    "c": 0.18416,
    "h": 342.8
  },
  "luminance": 0.09991
}

Semantic roles & 50–950 ramp

primary
#A0217B
secondary
#5BC279
accent
#E9703F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080F
muted
#827A7E

Preview Lab

Preview with #A0217B

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

Preview Lab → · Contrast checker → · Palette generator →

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