#CA22A7#CA22A7

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

Color values

HEX#CA22A7
RGBrgb(202, 34, 167)
HSLhsl(313, 71%, 46%)
HSVhsv(313, 83%, 79%)
CMYKcmyk(0%, 83.2%, 17.3%, 20.8%)
CIE-LABlab(47.62, 73.28, -31.20)
CIE-LCHlch(47.62, 79.65, 336.94°)
OKLaboklab(57.97% 0.2182 -0.0847)
OKLCHoklch(57.97% 0.234 338.8)
XYZxyz(31.9051, 16.4939, 38.0551)
Luminance0.1649 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA22A7 #22CA45
analogous
#9922CA #CA22A7 #CA2253
triadic
#CA22A7 #A7CA22 #22A7CA
tetradic
#CA22A7 #CA9922 #22CA45 #2253CA
square
#CA22A7 #CA9922 #22CA45 #2253CA
split-complementary
#CA22A7 #53CA22 #22CA99
monochromatic
#611050 #96197C #CA22A7 #E049C1 #E97DD3

Accessibility & contrast

On white

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

On black

4.30
#CA22A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CA22A7#FFFFFF#000000##FFFFFF
##CA22A71.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E61AA
Deuteranopia (green-blind)
#697AA3
Tritanopia (blue-blind)
#D62C65
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca22a7;
/* rgb */ color: rgb(202, 34, 167);
/* oklch */ color: oklch(58.0% 0.234 338.8);
Tailwind
colors: {
  custom: {
    50: '#df74c1',
    500: '#ca22a7',
    950: '#000000',
  },
}
SCSS
$custom: #ca22a7;
$custom-light: #df74c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca22a7",
  "rgb": {
    "r": 202,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 312.5,
    "s": 71.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57967,
    "c": 0.23404,
    "h": 338.8
  },
  "luminance": 0.16491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA22A7

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

Preview Lab → · Contrast checker → · Palette generator →

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