#CA22A5#CA22A5

#CA22A5 is a mid, highly saturated pink. Relative luminance 0.164; OKLCH L 57.9% C 0.233 H 339.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CA22A5
RGBrgb(202, 34, 165)
HSLhsl(313, 71%, 46%)
HSVhsv(313, 83%, 79%)
CMYKcmyk(0%, 83.2%, 18.3%, 20.8%)
CIE-LABlab(47.52, 73.02, -30.16)
CIE-LCHlch(47.52, 79.01, 337.56°)
OKLaboklab(57.87% 0.218 -0.0817)
OKLCHoklch(57.87% 0.233 339.5)
XYZxyz(31.7216, 16.4205, 37.0889)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA22A5 #22CA47
analogous
#9B22CA #CA22A5 #CA2251
triadic
#CA22A5 #A5CA22 #22A5CA
tetradic
#CA22A5 #CA9B22 #22CA47 #2251CA
square
#CA22A5 #CA9B22 #22CA47 #2251CA
split-complementary
#CA22A5 #51CA22 #22CA9B
monochromatic
#61104F #96197A #CA22A5 #E049BF #E97DD1

Accessibility & contrast

On white

4.90
#CA22A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CA22A5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA22A5#FFFFFF#000000##FFFFFF
##CA22A51.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3060A8
Deuteranopia (green-blind)
#6A7AA1
Tritanopia (blue-blind)
#D62B64
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca22a5;
/* rgb */ color: rgb(202, 34, 165);
/* oklch */ color: oklch(57.9% 0.233 339.5);
Tailwind
colors: {
  custom: {
    50: '#df74c0',
    500: '#ca22a5',
    950: '#000000',
  },
}
SCSS
$custom: #ca22a5;
$custom-light: #df74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca22a5",
  "rgb": {
    "r": 202,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 313.214,
    "s": 71.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57868,
    "c": 0.23281,
    "h": 339.5
  },
  "luminance": 0.16417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA22A5

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

Preview Lab → · Contrast checker → · Palette generator →

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