#CA22A4#CA22A4

#CA22A4 is a mid, highly saturated pink. Relative luminance 0.164; OKLCH L 57.8% C 0.232 H 339.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CA22A4
RGBrgb(202, 34, 164)
HSLhsl(314, 71%, 46%)
HSVhsv(314, 83%, 79%)
CMYKcmyk(0%, 83.2%, 18.8%, 20.8%)
CIE-LABlab(47.47, 72.90, -29.64)
CIE-LCHlch(47.47, 78.69, 337.88°)
OKLaboklab(57.82% 0.2179 -0.0802)
OKLCHoklch(57.82% 0.232 339.8)
XYZxyz(31.6310, 16.3842, 36.6114)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA22A4 #22CA48
analogous
#9C22CA #CA22A4 #CA2250
triadic
#CA22A4 #A4CA22 #22A4CA
tetradic
#CA22A4 #CA9C22 #22CA48 #2250CA
square
#CA22A4 #CA9C22 #22CA48 #2250CA
split-complementary
#CA22A4 #50CA22 #22CA9C
monochromatic
#61104F #961979 #CA22A4 #E049BE #E97DD1

Accessibility & contrast

On white

4.91
#CA22A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#CA22A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA22A4
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA22A4#FFFFFF#000000##FFFFFF
##CA22A41.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A7
Deuteranopia (green-blind)
#6B7AA0
Tritanopia (blue-blind)
#D62A64
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca22a4;
/* rgb */ color: rgb(202, 34, 164);
/* oklch */ color: oklch(57.8% 0.232 339.8);
Tailwind
colors: {
  custom: {
    50: '#df74bf',
    500: '#ca22a4',
    950: '#000000',
  },
}
SCSS
$custom: #ca22a4;
$custom-light: #df74bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca22a4",
  "rgb": {
    "r": 202,
    "g": 34,
    "b": 164
  },
  "hsl": {
    "h": 313.571,
    "s": 71.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57819,
    "c": 0.2322,
    "h": 339.8
  },
  "luminance": 0.16381
}

Semantic roles & 50–950 ramp

primary
#CA22A4
secondary
#77D18B
accent
#EE633A
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA22A4

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

Preview Lab → · Contrast checker → · Palette generator →

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