#CA22A6#CA22A6

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

Color values

HEX#CA22A6
RGBrgb(202, 34, 166)
HSLhsl(313, 71%, 46%)
HSVhsv(313, 83%, 79%)
CMYKcmyk(0%, 83.2%, 17.8%, 20.8%)
CIE-LABlab(47.57, 73.15, -30.68)
CIE-LCHlch(47.57, 79.33, 337.25°)
OKLaboklab(57.92% 0.2181 -0.0832)
OKLCHoklch(57.92% 0.233 339.1)
XYZxyz(31.8130, 16.4571, 37.5701)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA22A6 #22CA46
analogous
#9A22CA #CA22A6 #CA2252
triadic
#CA22A6 #A6CA22 #22A6CA
tetradic
#CA22A6 #CA9A22 #22CA46 #2252CA
square
#CA22A6 #CA9A22 #22CA46 #2252CA
split-complementary
#CA22A6 #52CA22 #22CA9A
monochromatic
#611050 #96197B #CA22A6 #E049C0 #E97DD2

Accessibility & contrast

On white

4.89
#CA22A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#CA22A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA22A6
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA22A6#FFFFFF#000000##FFFFFF
##CA22A61.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F60A9
Deuteranopia (green-blind)
#6A7AA2
Tritanopia (blue-blind)
#D62C65
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca22a6;
/* rgb */ color: rgb(202, 34, 166);
/* oklch */ color: oklch(57.9% 0.233 339.1);
Tailwind
colors: {
  custom: {
    50: '#df74c0',
    500: '#ca22a6',
    950: '#000000',
  },
}
SCSS
$custom: #ca22a6;
$custom-light: #df74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca22a6",
  "rgb": {
    "r": 202,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 312.857,
    "s": 71.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57917,
    "c": 0.23342,
    "h": 339.1
  },
  "luminance": 0.16454
}

Semantic roles & 50–950 ramp

primary
#CA22A6
secondary
#77D18A
accent
#EE603A
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA22A6

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

Preview Lab → · Contrast checker → · Palette generator →

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