#CA22A0#CA22A0

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

Color values

HEX#CA22A0
RGBrgb(202, 34, 160)
HSLhsl(315, 71%, 46%)
HSVhsv(315, 83%, 79%)
CMYKcmyk(0%, 83.2%, 20.8%, 20.8%)
CIE-LABlab(47.29, 72.39, -27.54)
CIE-LCHlch(47.29, 77.45, 339.17°)
OKLaboklab(57.63% 0.2175 -0.0743)
OKLCHoklch(57.63% 0.23 341.1)
XYZxyz(31.2754, 16.2420, 34.7388)
Luminance0.1624 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA22A0 #22CA4C
analogous
#A022CA #CA22A0 #CA224C
triadic
#CA22A0 #A0CA22 #22A0CA
tetradic
#CA22A0 #CAA022 #22CA4C #224CCA
square
#CA22A0 #CAA022 #22CA4C #224CCA
split-complementary
#CA22A0 #4CCA22 #22CAA0
monochromatic
#61104D #961977 #CA22A0 #E049BA #E97DCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA22A0#FFFFFF#000000##FFFFFF
##CA22A01.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)
#345FA3
Deuteranopia (green-blind)
#6C799C
Tritanopia (blue-blind)
#D72761
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca22a0;
/* rgb */ color: rgb(202, 34, 160);
/* oklch */ color: oklch(57.6% 0.230 341.1);
Tailwind
colors: {
  custom: {
    50: '#df74bc',
    500: '#ca22a0',
    950: '#000000',
  },
}
SCSS
$custom: #ca22a0;
$custom-light: #df74bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca22a0",
  "rgb": {
    "r": 202,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 315,
    "s": 71.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57627,
    "c": 0.22981,
    "h": 341.1
  },
  "luminance": 0.16239
}

Semantic roles & 50–950 ramp

primary
#CA22A0
secondary
#77D18D
accent
#EE673A
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160912
muted
#847B81

Preview Lab

Preview with #CA22A0

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

Preview Lab → · Contrast checker → · Palette generator →

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