#C221A4#C221A4

#C221A4 is a mid, highly saturated pink. Relative luminance 0.152; OKLCH L 56.5% C 0.229 H 337.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#C221A4
RGBrgb(194, 33, 164)
HSLhsl(311, 71%, 45%)
HSVhsv(311, 83%, 76%)
CMYKcmyk(0%, 83%, 15.5%, 23.9%)
CIE-LABlab(45.96, 71.43, -32.11)
CIE-LCHlch(45.96, 78.31, 335.80°)
OKLaboklab(56.47% 0.2115 -0.0874)
OKLCHoklch(56.47% 0.229 337.5)
XYZxyz(29.4935, 15.2403, 36.5032)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C221A4 #21C23F
analogous
#9021C2 #C221A4 #C22154
triadic
#C221A4 #A4C221 #21A4C2
tetradic
#C221A4 #C29021 #21C23F #2154C2
square
#C221A4 #C29021 #21C23F #2154C2
split-complementary
#C221A4 #54C221 #21C290
monochromatic
#590F4C #8E1878 #C221A4 #DF41C1 #E876D2

Accessibility & contrast

On white

5.19
#C221A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#C221A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C221A4
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C221A4#FFFFFF#000000##FFFFFF
##C221A41.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295DA7
Deuteranopia (green-blind)
#6475A1
Tritanopia (blue-blind)
#CD2D63
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c221a4;
/* rgb */ color: rgb(194, 33, 164);
/* oklch */ color: oklch(56.5% 0.229 337.5);
Tailwind
colors: {
  custom: {
    50: '#d972bf',
    500: '#c221a4',
    950: '#000000',
  },
}
SCSS
$custom: #c221a4;
$custom-light: #d972bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c221a4",
  "rgb": {
    "r": 194,
    "g": 33,
    "b": 164
  },
  "hsl": {
    "h": 311.18,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56471,
    "c": 0.22883,
    "h": 337.5
  },
  "luminance": 0.15237
}

Semantic roles & 50–950 ramp

primary
#C221A4
secondary
#70CF82
accent
#EE5C3A
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #C221A4

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

Preview Lab → · Contrast checker → · Palette generator →

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