#CA21AA#CA21AA

#CA21AA is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 58.1% C 0.237 H 337.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CA21AA
RGBrgb(202, 33, 170)
HSLhsl(311, 72%, 46%)
HSVhsv(311, 84%, 79%)
CMYKcmyk(0%, 83.7%, 15.8%, 20.8%)
CIE-LABlab(47.69, 73.89, -32.86)
CIE-LCHlch(47.69, 80.87, 336.02°)
OKLaboklab(58.07% 0.2191 -0.0894)
OKLCHoklch(58.07% 0.237 337.8)
XYZxyz(32.1575, 16.5498, 39.5233)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA21AA #21CA41
analogous
#9521CA #CA21AA #CA2155
triadic
#CA21AA #AACA21 #21AACA
tetradic
#CA21AA #CA9521 #21CA41 #2155CA
square
#CA21AA #CA9521 #21CA41 #2155CA
split-complementary
#CA21AA #55CA21 #21CA95
monochromatic
#611051 #95187E #CA21AA #E147C4 #EA7CD5

Accessibility & contrast

On white

4.87
#CA21AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CA21AA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA21AA#FFFFFF#000000##FFFFFF
##CA21AA1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A61AD
Deuteranopia (green-blind)
#687AA6
Tritanopia (blue-blind)
#D52E67
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca21aa;
/* rgb */ color: rgb(202, 33, 170);
/* oklch */ color: oklch(58.1% 0.237 337.8);
Tailwind
colors: {
  custom: {
    50: '#df74c3',
    500: '#ca21aa',
    950: '#000000',
  },
}
SCSS
$custom: #ca21aa;
$custom-light: #df74c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca21aa",
  "rgb": {
    "r": 202,
    "g": 33,
    "b": 170
  },
  "hsl": {
    "h": 311.361,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.58065,
    "c": 0.23661,
    "h": 337.8
  },
  "luminance": 0.16547
}

Semantic roles & 50–950 ramp

primary
#CA21AA
secondary
#75D287
accent
#EF5C39
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA21AA

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

Preview Lab → · Contrast checker → · Palette generator →

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