#C221A9#C221A9

#C221A9 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.7% C 0.232 H 335.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#C221A9
RGBrgb(194, 33, 169)
HSLhsl(309, 71%, 45%)
HSVhsv(309, 83%, 76%)
CMYKcmyk(0%, 83%, 12.9%, 23.9%)
CIE-LABlab(46.21, 72.11, -34.69)
CIE-LCHlch(46.21, 80.02, 334.31°)
OKLaboklab(56.73% 0.2118 -0.0948)
OKLCHoklch(56.73% 0.232 335.9)
XYZxyz(29.9539, 15.4245, 38.9281)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C221A9 #21C23A
analogous
#8B21C2 #C221A9 #C22158
triadic
#C221A9 #A9C221 #21A9C2
tetradic
#C221A9 #C28B21 #21C23A #2158C2
square
#C221A9 #C28B21 #21C23A #2158C2
split-complementary
#C221A9 #58C221 #21C28B
monochromatic
#590F4E #8E187B #C221A9 #DF41C6 #E876D6

Accessibility & contrast

On white

5.14
#C221A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#C221A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C221A9
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C221A9#FFFFFF#000000##FFFFFF
##C221A91.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235EAC
Deuteranopia (green-blind)
#6176A5
Tritanopia (blue-blind)
#CC3166
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c221a9;
/* rgb */ color: rgb(194, 33, 169);
/* oklch */ color: oklch(56.7% 0.232 335.9);
Tailwind
colors: {
  custom: {
    50: '#d972c3',
    500: '#c221a9',
    950: '#000000',
  },
}
SCSS
$custom: #c221a9;
$custom-light: #d972c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c221a9",
  "rgb": {
    "r": 194,
    "g": 33,
    "b": 169
  },
  "hsl": {
    "h": 309.317,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56729,
    "c": 0.23203,
    "h": 335.9
  },
  "luminance": 0.15422
}

Semantic roles & 50–950 ramp

primary
#C221A9
secondary
#70CF7F
accent
#EE563A
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150912
muted
#837B81

Preview Lab

Preview with #C221A9

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

Preview Lab → · Contrast checker → · Palette generator →

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