#C22AA2#C22AA2

#C22AA2 is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.9% C 0.220 H 338.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C22AA2
RGBrgb(194, 42, 162)
HSLhsl(313, 64%, 46%)
HSVhsv(313, 78%, 76%)
CMYKcmyk(0%, 78.4%, 16.5%, 23.9%)
CIE-LABlab(46.63, 68.96, -29.87)
CIE-LCHlch(46.63, 75.15, 336.58°)
OKLaboklab(56.92% 0.2047 -0.0811)
OKLCHoklch(56.92% 0.22 338.4)
XYZxyz(29.5984, 15.7368, 35.6541)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22AA2 #2AC24A
analogous
#962AC2 #C22AA2 #C22A56
triadic
#C22AA2 #A2C22A #2AA2C2
tetradic
#C22AA2 #C2962A #2AC24A #2A56C2
square
#C22AA2 #C2962A #2AC24A #2A56C2
split-complementary
#C22AA2 #56C22A #2AC296
monochromatic
#5D144E #901F78 #C22AA2 #D950BC #E482CF

Accessibility & contrast

On white

5.06
#C22AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#C22AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22AA2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22AA2#FFFFFF#000000##FFFFFF
##C22AA21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A5
Deuteranopia (green-blind)
#67779F
Tritanopia (blue-blind)
#CD3364
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c22aa2;
/* rgb */ color: rgb(194, 42, 162);
/* oklch */ color: oklch(56.9% 0.220 338.4);
Tailwind
colors: {
  custom: {
    50: '#d975be',
    500: '#c22aa2',
    950: '#000000',
  },
}
SCSS
$custom: #c22aa2;
$custom-light: #d975be;
$custom-dark: #000000;
JSON
{
  "hex": "#c22aa2",
  "rgb": {
    "r": 194,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 312.632,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56918,
    "c": 0.22016,
    "h": 338.4
  },
  "luminance": 0.15734
}

Semantic roles & 50–950 ramp

primary
#C22AA2
secondary
#7BCD8C
accent
#E76440
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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