#A7217A#A7217A

#A7217A is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.0% C 0.188 H 345.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A7217A
RGBrgb(167, 33, 122)
HSLhsl(320, 67%, 39%)
HSVhsv(320, 80%, 65%)
CMYKcmyk(0%, 80.2%, 26.9%, 34.5%)
CIE-LABlab(39.09, 59.91, -17.60)
CIE-LCHlch(39.09, 62.45, 343.63°)
OKLaboklab(49.99% 0.1821 -0.0468)
OKLCHoklch(49.99% 0.188 345.6)
XYZxyz(19.9940, 10.7106, 19.4230)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7217A #21A74E
analogous
#9121A7 #A7217A #A72137
triadic
#A7217A #7AA721 #217AA7
tetradic
#A7217A #A79121 #21A74E #2137A7
square
#A7217A #A79121 #21A74E #2137A7
split-complementary
#A7217A #37A721 #21A791
monochromatic
#410D2F #741755 #A7217A #D62F9E #E062B6

Accessibility & contrast

On white

6.68
#A7217A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A7217A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7217A
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7217A#FFFFFF#000000##FFFFFF
##A7217A1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354E7C
Deuteranopia (green-blind)
#5D6477
Tritanopia (blue-blind)
#B31D4C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a7217a;
/* rgb */ color: rgb(167, 33, 122);
/* oklch */ color: oklch(50.0% 0.188 345.6);
Tailwind
colors: {
  custom: {
    50: '#c66ca0',
    500: '#a7217a',
    950: '#000000',
  },
}
SCSS
$custom: #a7217a;
$custom-light: #c66ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#a7217a",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 320.149,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49989,
    "c": 0.188,
    "h": 345.6
  },
  "luminance": 0.10708
}

Semantic roles & 50–950 ramp

primary
#A7217A
secondary
#5FC581
accent
#EA783E
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #A7217A

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

Preview Lab → · Contrast checker → · Palette generator →

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