#C221A7#C221A7

#C221A7 is a mid, highly saturated pink. Relative luminance 0.153; OKLCH L 56.6% C 0.231 H 336.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C221A7
RGBrgb(194, 33, 167)
HSLhsl(310, 71%, 45%)
HSVhsv(310, 83%, 76%)
CMYKcmyk(0%, 83%, 13.9%, 23.9%)
CIE-LABlab(46.11, 71.84, -33.66)
CIE-LCHlch(46.11, 79.33, 334.89°)
OKLaboklab(56.63% 0.2117 -0.0919)
OKLCHoklch(56.63% 0.231 336.5)
XYZxyz(29.7676, 15.3500, 37.9468)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C221A7 #21C23C
analogous
#8D21C2 #C221A7 #C22157
triadic
#C221A7 #A7C221 #21A7C2
tetradic
#C221A7 #C28D21 #21C23C #2157C2
square
#C221A7 #C28D21 #21C23C #2157C2
split-complementary
#C221A7 #57C221 #21C28D
monochromatic
#590F4D #8E187A #C221A7 #DF41C4 #E876D5

Accessibility & contrast

On white

5.16
#C221A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#C221A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C221A7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C221A7#FFFFFF#000000##FFFFFF
##C221A71.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265EAA
Deuteranopia (green-blind)
#6276A3
Tritanopia (blue-blind)
#CC2F65
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c221a7;
/* rgb */ color: rgb(194, 33, 167);
/* oklch */ color: oklch(56.6% 0.231 336.5);
Tailwind
colors: {
  custom: {
    50: '#d972c1',
    500: '#c221a7',
    950: '#000000',
  },
}
SCSS
$custom: #c221a7;
$custom-light: #d972c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c221a7",
  "rgb": {
    "r": 194,
    "g": 33,
    "b": 167
  },
  "hsl": {
    "h": 310.062,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56625,
    "c": 0.23074,
    "h": 336.5
  },
  "luminance": 0.15347
}

Semantic roles & 50–950 ramp

primary
#C221A7
secondary
#70CF80
accent
#EE583A
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #C221A7

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

Preview Lab → · Contrast checker → · Palette generator →

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