#CA22A8#CA22A8

#CA22A8 is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 58.0% C 0.235 H 338.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CA22A8
RGBrgb(202, 34, 168)
HSLhsl(312, 71%, 46%)
HSVhsv(312, 83%, 79%)
CMYKcmyk(0%, 83.2%, 16.8%, 20.8%)
CIE-LABlab(47.66, 73.42, -31.72)
CIE-LCHlch(47.66, 79.97, 336.64°)
OKLaboklab(58.02% 0.2183 -0.0862)
OKLCHoklch(58.02% 0.235 338.5)
XYZxyz(31.9979, 16.5310, 38.5439)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA22A8 #22CA44
analogous
#9822CA #CA22A8 #CA2254
triadic
#CA22A8 #A8CA22 #22A8CA
tetradic
#CA22A8 #CA9822 #22CA44 #2254CA
square
#CA22A8 #CA9822 #22CA44 #2254CA
split-complementary
#CA22A8 #54CA22 #22CA98
monochromatic
#611051 #96197C #CA22A8 #E049C2 #E97DD3

Accessibility & contrast

On white

4.88
#CA22A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#CA22A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA22A8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA22A8#FFFFFF#000000##FFFFFF
##CA22A81.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D61AB
Deuteranopia (green-blind)
#697AA4
Tritanopia (blue-blind)
#D62D66
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca22a8;
/* rgb */ color: rgb(202, 34, 168);
/* oklch */ color: oklch(58.0% 0.235 338.5);
Tailwind
colors: {
  custom: {
    50: '#df74c2',
    500: '#ca22a8',
    950: '#000000',
  },
}
SCSS
$custom: #ca22a8;
$custom-light: #df74c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca22a8",
  "rgb": {
    "r": 202,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 312.143,
    "s": 71.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.58016,
    "c": 0.23465,
    "h": 338.5
  },
  "luminance": 0.16528
}

Semantic roles & 50–950 ramp

primary
#CA22A8
secondary
#77D189
accent
#EE5E3A
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA22A8

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

Preview Lab → · Contrast checker → · Palette generator →

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