#C221A1#C221A1

#C221A1 is a mid, highly saturated pink. Relative luminance 0.151; OKLCH L 56.3% C 0.227 H 338.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C221A1
RGBrgb(194, 33, 161)
HSLhsl(312, 71%, 45%)
HSVhsv(312, 83%, 76%)
CMYKcmyk(0%, 83%, 17%, 23.9%)
CIE-LABlab(45.82, 71.03, -30.55)
CIE-LCHlch(45.82, 77.32, 336.73°)
OKLaboklab(56.32% 0.2112 -0.083)
OKLCHoklch(56.32% 0.227 338.6)
XYZxyz(29.2258, 15.1332, 35.0931)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C221A1 #21C242
analogous
#9321C2 #C221A1 #C22151
triadic
#C221A1 #A1C221 #21A1C2
tetradic
#C221A1 #C29321 #21C242 #2151C2
square
#C221A1 #C29321 #21C242 #2151C2
split-complementary
#C221A1 #51C221 #21C293
monochromatic
#590F4A #8E1876 #C221A1 #DF41BF #E876D0

Accessibility & contrast

On white

5.22
#C221A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#C221A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C221A1
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C221A1#FFFFFF#000000##FFFFFF
##C221A11.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5DA4
Deuteranopia (green-blind)
#65759E
Tritanopia (blue-blind)
#CD2B62
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c221a1;
/* rgb */ color: rgb(194, 33, 161);
/* oklch */ color: oklch(56.3% 0.227 338.6);
Tailwind
colors: {
  custom: {
    50: '#d972bd',
    500: '#c221a1',
    950: '#000000',
  },
}
SCSS
$custom: #c221a1;
$custom-light: #d972bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c221a1",
  "rgb": {
    "r": 194,
    "g": 33,
    "b": 161
  },
  "hsl": {
    "h": 312.298,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5632,
    "c": 0.22695,
    "h": 338.6
  },
  "luminance": 0.1513
}

Semantic roles & 50–950 ramp

primary
#C221A1
secondary
#70CF83
accent
#EE5F3A
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #C221A1

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

Preview Lab → · Contrast checker → · Palette generator →

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