#A8217C#A8217C

#A8217C is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.190 H 345.0°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A8217C
RGBrgb(168, 33, 124)
HSLhsl(320, 67%, 39%)
HSVhsv(320, 80%, 66%)
CMYKcmyk(0%, 80.4%, 26.2%, 34.1%)
CIE-LABlab(39.36, 60.40, -18.41)
CIE-LCHlch(39.36, 63.15, 343.05°)
OKLaboklab(50.25% 0.1833 -0.049)
OKLCHoklch(50.25% 0.19 345)
XYZxyz(20.3313, 10.8701, 20.0923)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8217C #21A84D
analogous
#9121A8 #A8217C #A82138
triadic
#A8217C #7CA821 #217CA8
tetradic
#A8217C #A89121 #21A84D #2138A8
square
#A8217C #A89121 #21A84D #2138A8
split-complementary
#A8217C #38A821 #21A891
monochromatic
#420D30 #751756 #A8217C #D630A0 #E063B8

Accessibility & contrast

On white

6.62
#A8217C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A8217C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8217C
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8217C#FFFFFF#000000##FFFFFF
##A8217C1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344E7E
Deuteranopia (green-blind)
#5E6579
Tritanopia (blue-blind)
#B41E4D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a8217c;
/* rgb */ color: rgb(168, 33, 124);
/* oklch */ color: oklch(50.2% 0.190 345.0);
Tailwind
colors: {
  custom: {
    50: '#c66da2',
    500: '#a8217c',
    950: '#000000',
  },
}
SCSS
$custom: #a8217c;
$custom-light: #c66da2;
$custom-dark: #000000;
JSON
{
  "hex": "#a8217c",
  "rgb": {
    "r": 168,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 319.556,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50248,
    "c": 0.18978,
    "h": 345
  },
  "luminance": 0.10868
}

Semantic roles & 50–950 ramp

primary
#A8217C
secondary
#5FC581
accent
#EA763E
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080F
muted
#827B7E

Preview Lab

Preview with #A8217C

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

Preview Lab → · Contrast checker → · Palette generator →

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