#C22CAC#C22CAC

#C22CAC is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.6% C 0.225 H 335.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C22CAC
RGBrgb(194, 44, 172)
HSLhsl(309, 63%, 47%)
HSVhsv(309, 77%, 76%)
CMYKcmyk(0%, 77.3%, 11.3%, 23.9%)
CIE-LABlab(47.30, 69.81, -34.75)
CIE-LCHlch(47.30, 77.98, 333.54°)
OKLaboklab(57.56% 0.2038 -0.0951)
OKLCHoklch(57.56% 0.225 335)
XYZxyz(30.5956, 16.2520, 40.5473)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22CAC #2CC242
analogous
#8D2CC2 #C22CAC #C22C61
triadic
#C22CAC #ACC22C #2CACC2
tetradic
#C22CAC #C28D2C #2CC242 #2C61C2
square
#C22CAC #C28D2C #2CC242 #2C61C2
split-complementary
#C22CAC #61C22C #2CC28D
monochromatic
#5E1554 #902180 #C22CAC #D853C5 #E385D6

Accessibility & contrast

On white

4.94
#C22CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C22CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22CAC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22CAC#FFFFFF#000000##FFFFFF
##C22CAC1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B62AF
Deuteranopia (green-blind)
#6378A9
Tritanopia (blue-blind)
#CC3A6A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c22cac;
/* rgb */ color: rgb(194, 44, 172);
/* oklch */ color: oklch(57.6% 0.225 335.0);
Tailwind
colors: {
  custom: {
    50: '#d976c5',
    500: '#c22cac',
    950: '#000000',
  },
}
SCSS
$custom: #c22cac;
$custom-light: #d976c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c22cac",
  "rgb": {
    "r": 194,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 308.8,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57561,
    "c": 0.22492,
    "h": 335
  },
  "luminance": 0.16249
}

Semantic roles & 50–950 ramp

primary
#C22CAC
secondary
#7DCD89
accent
#E65A42
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C22CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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