#C22AA4#C22AA4

#C22AA4 is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 57.0% C 0.221 H 337.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#C22AA4
RGBrgb(194, 42, 164)
HSLhsl(312, 64%, 46%)
HSVhsv(312, 78%, 76%)
CMYKcmyk(0%, 78.4%, 15.5%, 23.9%)
CIE-LABlab(46.72, 69.23, -30.92)
CIE-LCHlch(46.72, 75.82, 335.94°)
OKLaboklab(57.02% 0.2049 -0.0841)
OKLCHoklch(57.02% 0.221 337.7)
XYZxyz(29.7776, 15.8085, 36.5979)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22AA4 #2AC248
analogous
#942AC2 #C22AA4 #C22A58
triadic
#C22AA4 #A4C22A #2AA4C2
tetradic
#C22AA4 #C2942A #2AC248 #2A58C2
square
#C22AA4 #C2942A #2AC248 #2A58C2
split-complementary
#C22AA4 #58C22A #2AC294
monochromatic
#5D144F #901F79 #C22AA4 #D950BE #E482D1

Accessibility & contrast

On white

5.05
#C22AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#C22AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22AA4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22AA4#FFFFFF#000000##FFFFFF
##C22AA41.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A7
Deuteranopia (green-blind)
#6677A1
Tritanopia (blue-blind)
#CD3465
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c22aa4;
/* rgb */ color: rgb(194, 42, 164);
/* oklch */ color: oklch(57.0% 0.221 337.7);
Tailwind
colors: {
  custom: {
    50: '#d975bf',
    500: '#c22aa4',
    950: '#000000',
  },
}
SCSS
$custom: #c22aa4;
$custom-light: #d975bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c22aa4",
  "rgb": {
    "r": 194,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 311.842,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57017,
    "c": 0.22145,
    "h": 337.7
  },
  "luminance": 0.15806
}

Semantic roles & 50–950 ramp

primary
#C22AA4
secondary
#7BCD8B
accent
#E76140
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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