#C221A5#C221A5

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

Color values

HEX#C221A5
RGBrgb(194, 33, 165)
HSLhsl(311, 71%, 45%)
HSVhsv(311, 83%, 76%)
CMYKcmyk(0%, 83%, 14.9%, 23.9%)
CIE-LABlab(46.01, 71.56, -32.63)
CIE-LCHlch(46.01, 78.65, 335.49°)
OKLaboklab(56.52% 0.2115 -0.0889)
OKLCHoklch(56.52% 0.229 337.2)
XYZxyz(29.5842, 15.2766, 36.9806)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C221A5 #21C23E
analogous
#8E21C2 #C221A5 #C22155
triadic
#C221A5 #A5C221 #21A5C2
tetradic
#C221A5 #C28E21 #21C23E #2155C2
square
#C221A5 #C28E21 #21C23E #2155C2
split-complementary
#C221A5 #55C221 #21C28E
monochromatic
#590F4C #8E1879 #C221A5 #DF41C2 #E876D3

Accessibility & contrast

On white

5.18
#C221A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C221A5
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C221A5#FFFFFF#000000##FFFFFF
##C221A51.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285EA8
Deuteranopia (green-blind)
#6375A1
Tritanopia (blue-blind)
#CD2E64
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c221a5;
/* rgb */ color: rgb(194, 33, 165);
/* oklch */ color: oklch(56.5% 0.229 337.2);
Tailwind
colors: {
  custom: {
    50: '#d972c0',
    500: '#c221a5',
    950: '#000000',
  },
}
SCSS
$custom: #c221a5;
$custom-light: #d972c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c221a5",
  "rgb": {
    "r": 194,
    "g": 33,
    "b": 165
  },
  "hsl": {
    "h": 310.807,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56522,
    "c": 0.22946,
    "h": 337.2
  },
  "luminance": 0.15274
}

Semantic roles & 50–950 ramp

primary
#C221A5
secondary
#70CF81
accent
#EE5A3A
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #C221A5

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

Preview Lab → · Contrast checker → · Palette generator →

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