#CA22A3#CA22A3

#CA22A3 is a mid, highly saturated pink. Relative luminance 0.163; OKLCH L 57.8% C 0.232 H 340.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CA22A3
RGBrgb(202, 34, 163)
HSLhsl(314, 71%, 46%)
HSVhsv(314, 83%, 79%)
CMYKcmyk(0%, 83.2%, 19.3%, 20.8%)
CIE-LABlab(47.43, 72.77, -29.11)
CIE-LCHlch(47.43, 78.38, 338.19°)
OKLaboklab(57.77% 0.2178 -0.0787)
OKLCHoklch(57.77% 0.232 340.1)
XYZxyz(31.5410, 16.3483, 36.1377)
Luminance0.1635 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA22A3 #22CA49
analogous
#9D22CA #CA22A3 #CA224F
triadic
#CA22A3 #A3CA22 #22A3CA
tetradic
#CA22A3 #CA9D22 #22CA49 #224FCA
square
#CA22A3 #CA9D22 #22CA49 #224FCA
split-complementary
#CA22A3 #4FCA22 #22CA9D
monochromatic
#61104E #961979 #CA22A3 #E049BD #E97DD0

Accessibility & contrast

On white

4.92
#CA22A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#CA22A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA22A3
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA22A3#FFFFFF#000000##FFFFFF
##CA22A31.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3260A6
Deuteranopia (green-blind)
#6B7A9F
Tritanopia (blue-blind)
#D62963
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca22a3;
/* rgb */ color: rgb(202, 34, 163);
/* oklch */ color: oklch(57.8% 0.232 340.1);
Tailwind
colors: {
  custom: {
    50: '#df74be',
    500: '#ca22a3',
    950: '#000000',
  },
}
SCSS
$custom: #ca22a3;
$custom-light: #df74be;
$custom-dark: #000000;
JSON
{
  "hex": "#ca22a3",
  "rgb": {
    "r": 202,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 313.929,
    "s": 71.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57771,
    "c": 0.2316,
    "h": 340.1
  },
  "luminance": 0.16345
}

Semantic roles & 50–950 ramp

primary
#CA22A3
secondary
#77D18C
accent
#EE643A
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA22A3

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

Preview Lab → · Contrast checker → · Palette generator →

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