#C221B9#C221B9

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

Color values

HEX#C221B9
RGBrgb(194, 33, 185)
HSLhsl(303, 71%, 45%)
HSVhsv(303, 83%, 76%)
CMYKcmyk(0%, 83%, 4.6%, 23.9%)
CIE-LABlab(47.06, 74.40, -42.78)
CIE-LCHlch(47.06, 85.82, 330.10°)
OKLaboklab(57.61% 0.212 -0.1182)
OKLCHoklch(57.61% 0.243 330.8)
XYZxyz(31.5489, 16.0625, 47.3283)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C221B9 #21C22A
analogous
#7B21C2 #C221B9 #C22169
triadic
#C221B9 #B9C221 #21B9C2
tetradic
#C221B9 #C27B21 #21C22A #2169C2
square
#C221B9 #C27B21 #21C22A #2169C2
split-complementary
#C221B9 #69C221 #21C27B
monochromatic
#590F55 #8E1887 #C221B9 #DF41D6 #E876E1

Accessibility & contrast

On white

4.99
#C221B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#C221B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C221B9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C221B9#FFFFFF#000000##FFFFFF
##C221B91.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c221b9;
/* rgb */ color: rgb(194, 33, 185);
/* oklch */ color: oklch(57.6% 0.243 330.8);
Tailwind
colors: {
  custom: {
    50: '#d973ce',
    500: '#c221b9',
    950: '#000000',
  },
}
SCSS
$custom: #c221b9;
$custom-light: #d973ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c221b9",
  "rgb": {
    "r": 194,
    "g": 33,
    "b": 185
  },
  "hsl": {
    "h": 303.354,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57605,
    "c": 0.2427,
    "h": 330.8
  },
  "luminance": 0.1606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C221B9

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

Preview Lab → · Contrast checker → · Palette generator →

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