#CA21A0#CA21A0

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

Color values

HEX#CA21A0
RGBrgb(202, 33, 160)
HSLhsl(315, 72%, 46%)
HSVhsv(315, 84%, 79%)
CMYKcmyk(0%, 83.7%, 20.8%, 20.8%)
CIE-LABlab(47.22, 72.60, -27.65)
CIE-LCHlch(47.22, 77.69, 339.15°)
OKLaboklab(57.58% 0.2181 -0.0746)
OKLCHoklch(57.58% 0.231 341.1)
XYZxyz(31.2472, 16.1857, 34.7295)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA21A0 #21CA4B
analogous
#9F21CA #CA21A0 #CA214B
triadic
#CA21A0 #A0CA21 #21A0CA
tetradic
#CA21A0 #CA9F21 #21CA4B #214BCA
square
#CA21A0 #CA9F21 #21CA4B #214BCA
split-complementary
#CA21A0 #4BCA21 #21CA9F
monochromatic
#61104D #951876 #CA21A0 #E147BB #EA7CCE

Accessibility & contrast

On white

4.96
#CA21A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#CA21A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA21A0
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA21A0#FFFFFF#000000##FFFFFF
##CA21A01.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345FA3
Deuteranopia (green-blind)
#6C799C
Tritanopia (blue-blind)
#D72661
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca21a0;
/* rgb */ color: rgb(202, 33, 160);
/* oklch */ color: oklch(57.6% 0.231 341.1);
Tailwind
colors: {
  custom: {
    50: '#df73bc',
    500: '#ca21a0',
    950: '#000000',
  },
}
SCSS
$custom: #ca21a0;
$custom-light: #df73bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca21a0",
  "rgb": {
    "r": 202,
    "g": 33,
    "b": 160
  },
  "hsl": {
    "h": 314.911,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57575,
    "c": 0.23052,
    "h": 341.1
  },
  "luminance": 0.16182
}

Semantic roles & 50–950 ramp

primary
#CA21A0
secondary
#75D28C
accent
#EF6639
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160912
muted
#847B81

Preview Lab

Preview with #CA21A0

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

Preview Lab → · Contrast checker → · Palette generator →

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