#C22CA9#C22CA9

#C22CA9 is a mid, highly saturated pink. Relative luminance 0.161; OKLCH L 57.4% C 0.223 H 336.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C22CA9
RGBrgb(194, 44, 169)
HSLhsl(310, 63%, 47%)
HSVhsv(310, 77%, 76%)
CMYKcmyk(0%, 77.3%, 12.9%, 23.9%)
CIE-LABlab(47.16, 69.38, -33.20)
CIE-LCHlch(47.16, 76.92, 334.43°)
OKLaboklab(57.41% 0.2036 -0.0906)
OKLCHoklch(57.41% 0.223 336)
XYZxyz(30.3108, 16.1381, 39.0470)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22CA9 #2CC245
analogous
#902CC2 #C22CA9 #C22C5E
triadic
#C22CA9 #A9C22C #2CA9C2
tetradic
#C22CA9 #C2902C #2CC245 #2C5EC2
square
#C22CA9 #C2902C #2CC245 #2C5EC2
split-complementary
#C22CA9 #5EC22C #2CC290
monochromatic
#5E1552 #90217E #C22CA9 #D853C2 #E385D4

Accessibility & contrast

On white

4.97
#C22CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#C22CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22CA9
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22CA9#FFFFFF#000000##FFFFFF
##C22CA91.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E62AC
Deuteranopia (green-blind)
#6578A6
Tritanopia (blue-blind)
#CC3869
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c22ca9;
/* rgb */ color: rgb(194, 44, 169);
/* oklch */ color: oklch(57.4% 0.223 336.0);
Tailwind
colors: {
  custom: {
    50: '#d976c3',
    500: '#c22ca9',
    950: '#000000',
  },
}
SCSS
$custom: #c22ca9;
$custom-light: #d976c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c22ca9",
  "rgb": {
    "r": 194,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 310,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57406,
    "c": 0.2229,
    "h": 336
  },
  "luminance": 0.16135
}

Semantic roles & 50–950 ramp

primary
#C22CA9
secondary
#7DCD8A
accent
#E65D42
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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