#CA22A1#CA22A1

#CA22A1 is a mid, highly saturated pink. Relative luminance 0.163; OKLCH L 57.7% C 0.230 H 340.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CA22A1
RGBrgb(202, 34, 161)
HSLhsl(315, 71%, 46%)
HSVhsv(315, 83%, 79%)
CMYKcmyk(0%, 83.2%, 20.3%, 20.8%)
CIE-LABlab(47.34, 72.51, -28.07)
CIE-LCHlch(47.34, 77.75, 338.84°)
OKLaboklab(57.68% 0.2176 -0.0758)
OKLCHoklch(57.68% 0.23 340.8)
XYZxyz(31.3632, 16.2772, 35.2014)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA22A1 #22CA4B
analogous
#9F22CA #CA22A1 #CA224D
triadic
#CA22A1 #A1CA22 #22A1CA
tetradic
#CA22A1 #CA9F22 #22CA4B #224DCA
square
#CA22A1 #CA9F22 #22CA4B #224DCA
split-complementary
#CA22A1 #4DCA22 #22CA9F
monochromatic
#61104D #961977 #CA22A1 #E049BB #E97DCF

Accessibility & contrast

On white

4.94
#CA22A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#CA22A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA22A1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA22A1#FFFFFF#000000##FFFFFF
##CA22A11.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345FA4
Deuteranopia (green-blind)
#6C7A9D
Tritanopia (blue-blind)
#D72862
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca22a1;
/* rgb */ color: rgb(202, 34, 161);
/* oklch */ color: oklch(57.7% 0.230 340.8);
Tailwind
colors: {
  custom: {
    50: '#df74bd',
    500: '#ca22a1',
    950: '#000000',
  },
}
SCSS
$custom: #ca22a1;
$custom-light: #df74bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca22a1",
  "rgb": {
    "r": 202,
    "g": 34,
    "b": 161
  },
  "hsl": {
    "h": 314.643,
    "s": 71.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57675,
    "c": 0.2304,
    "h": 340.8
  },
  "luminance": 0.16274
}

Semantic roles & 50–950 ramp

primary
#CA22A1
secondary
#77D18D
accent
#EE663A
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA22A1

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

Preview Lab → · Contrast checker → · Palette generator →

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