#C22AA5#C22AA5

#C22AA5 is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 57.1% C 0.222 H 337.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C22AA5
RGBrgb(194, 42, 165)
HSLhsl(311, 64%, 46%)
HSVhsv(311, 78%, 76%)
CMYKcmyk(0%, 78.4%, 14.9%, 23.9%)
CIE-LABlab(46.77, 69.37, -31.44)
CIE-LCHlch(46.77, 76.16, 335.62°)
OKLaboklab(57.07% 0.205 -0.0856)
OKLCHoklch(57.07% 0.222 337.3)
XYZxyz(29.8683, 15.8448, 37.0753)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22AA5 #2AC247
analogous
#932AC2 #C22AA5 #C22A59
triadic
#C22AA5 #A5C22A #2AA5C2
tetradic
#C22AA5 #C2932A #2AC247 #2A59C2
square
#C22AA5 #C2932A #2AC247 #2A59C2
split-complementary
#C22AA5 #59C22A #2AC293
monochromatic
#5D144F #901F7A #C22AA5 #D950BF #E482D1

Accessibility & contrast

On white

5.04
#C22AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#C22AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22AA5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22AA5#FFFFFF#000000##FFFFFF
##C22AA51.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3060A8
Deuteranopia (green-blind)
#6677A2
Tritanopia (blue-blind)
#CD3466
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c22aa5;
/* rgb */ color: rgb(194, 42, 165);
/* oklch */ color: oklch(57.1% 0.222 337.3);
Tailwind
colors: {
  custom: {
    50: '#d975c0',
    500: '#c22aa5',
    950: '#000000',
  },
}
SCSS
$custom: #c22aa5;
$custom-light: #d975c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c22aa5",
  "rgb": {
    "r": 194,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 311.447,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57067,
    "c": 0.2221,
    "h": 337.3
  },
  "luminance": 0.15842
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C22AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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