#C221A2#C221A2

#C221A2 is a mid, highly saturated pink. Relative luminance 0.152; OKLCH L 56.4% C 0.228 H 338.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#C221A2
RGBrgb(194, 33, 162)
HSLhsl(312, 71%, 45%)
HSVhsv(312, 83%, 76%)
CMYKcmyk(0%, 83%, 16.5%, 23.9%)
CIE-LABlab(45.86, 71.16, -31.07)
CIE-LCHlch(45.86, 77.65, 336.42°)
OKLaboklab(56.37% 0.2113 -0.0844)
OKLCHoklch(56.37% 0.228 338.2)
XYZxyz(29.3143, 15.1686, 35.5594)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C221A2 #21C241
analogous
#9121C2 #C221A2 #C22152
triadic
#C221A2 #A2C221 #21A2C2
tetradic
#C221A2 #C29121 #21C241 #2152C2
square
#C221A2 #C29121 #21C241 #2152C2
split-complementary
#C221A2 #52C221 #21C291
monochromatic
#590F4B #8E1876 #C221A2 #DF41BF #E876D1

Accessibility & contrast

On white

5.21
#C221A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C221A2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C221A2#FFFFFF#000000##FFFFFF
##C221A21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5DA5
Deuteranopia (green-blind)
#65759F
Tritanopia (blue-blind)
#CD2C62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c221a2;
/* rgb */ color: rgb(194, 33, 162);
/* oklch */ color: oklch(56.4% 0.228 338.2);
Tailwind
colors: {
  custom: {
    50: '#d972be',
    500: '#c221a2',
    950: '#000000',
  },
}
SCSS
$custom: #c221a2;
$custom-light: #d972be;
$custom-dark: #000000;
JSON
{
  "hex": "#c221a2",
  "rgb": {
    "r": 194,
    "g": 33,
    "b": 162
  },
  "hsl": {
    "h": 311.925,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5637,
    "c": 0.22757,
    "h": 338.2
  },
  "luminance": 0.15166
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C221A2

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

Preview Lab → · Contrast checker → · Palette generator →

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