#C221BA#C221BA

#C221BA is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.7% C 0.243 H 330.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C221BA
RGBrgb(194, 33, 186)
HSLhsl(303, 71%, 45%)
HSVhsv(303, 83%, 76%)
CMYKcmyk(0%, 83%, 4.1%, 23.9%)
CIE-LABlab(47.11, 74.55, -43.28)
CIE-LCHlch(47.11, 86.20, 329.86°)
OKLaboklab(57.66% 0.2119 -0.1197)
OKLCHoklch(57.66% 0.243 330.6)
XYZxyz(31.6549, 16.1048, 47.8862)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C221BA #21C229
analogous
#7921C2 #C221BA #C2216A
triadic
#C221BA #BAC221 #21BAC2
tetradic
#C221BA #C27921 #21C229 #216AC2
square
#C221BA #C27921 #21C229 #216AC2
split-complementary
#C221BA #6AC221 #21C279
monochromatic
#590F56 #8E1888 #C221BA #DF41D7 #E876E2

Accessibility & contrast

On white

4.98
#C221BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#C221BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C221BA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C221BA#FFFFFF#000000##FFFFFF
##C221BA1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#5977B6
Tritanopia (blue-blind)
#CA3B70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c221ba;
/* rgb */ color: rgb(194, 33, 186);
/* oklch */ color: oklch(57.7% 0.243 330.6);
Tailwind
colors: {
  custom: {
    50: '#d973cf',
    500: '#c221ba',
    950: '#000000',
  },
}
SCSS
$custom: #c221ba;
$custom-light: #d973cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c221ba",
  "rgb": {
    "r": 194,
    "g": 33,
    "b": 186
  },
  "hsl": {
    "h": 302.981,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57662,
    "c": 0.24338,
    "h": 330.6
  },
  "luminance": 0.16102
}

Semantic roles & 50–950 ramp

primary
#C221BA
secondary
#70CF75
accent
#EE433A
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #C221BA

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

Preview Lab → · Contrast checker → · Palette generator →

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