#A0217F#A0217F

#A0217F is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.0% C 0.187 H 341.1°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A0217F
RGBrgb(160, 33, 127)
HSLhsl(316, 66%, 38%)
HSVhsv(316, 79%, 63%)
CMYKcmyk(0%, 79.4%, 20.6%, 37.3%)
CIE-LABlab(38.01, 58.88, -22.48)
CIE-LCHlch(38.01, 63.03, 339.10°)
OKLaboklab(49.05% 0.1766 -0.0606)
OKLCHoklch(49.05% 0.187 341.1)
XYZxyz(18.8724, 10.0956, 21.0293)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0217F #21A042
analogous
#8221A0 #A0217F #A0213F
triadic
#A0217F #7FA021 #217FA0
tetradic
#A0217F #A08221 #21A042 #213FA0
square
#A0217F #A08221 #21A042 #213FA0
split-complementary
#A0217F #3FA021 #21A082
monochromatic
#3B0C2E #6D1757 #A0217F #D32BA7 #DE5EBC

Accessibility & contrast

On white

6.96
#A0217F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#A0217F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0217F
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0217F#FFFFFF#000000##FFFFFF
##A0217F1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4D81
Deuteranopia (green-blind)
#56617C
Tritanopia (blue-blind)
#AA244E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a0217f;
/* rgb */ color: rgb(160, 33, 127);
/* oklch */ color: oklch(49.0% 0.187 341.1);
Tailwind
colors: {
  custom: {
    50: '#c06ba4',
    500: '#a0217f',
    950: '#000000',
  },
}
SCSS
$custom: #a0217f;
$custom-light: #c06ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#a0217f",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 315.591,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49045,
    "c": 0.18666,
    "h": 341.1
  },
  "luminance": 0.10094
}

Semantic roles & 50–950 ramp

primary
#A0217F
secondary
#5BC275
accent
#E96B3F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A0217F

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

Preview Lab → · Contrast checker → · Palette generator →

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