#CA20A4#CA20A4

#CA20A4 is a mid, highly saturated pink. Relative luminance 0.163; OKLCH L 57.7% C 0.234 H 339.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CA20A4
RGBrgb(202, 32, 164)
HSLhsl(313, 73%, 46%)
HSVhsv(313, 84%, 79%)
CMYKcmyk(0%, 84.2%, 18.8%, 20.8%)
CIE-LABlab(47.33, 73.31, -29.86)
CIE-LCHlch(47.33, 79.16, 337.84°)
OKLaboklab(57.72% 0.2192 -0.0809)
OKLCHoklch(57.72% 0.234 339.7)
XYZxyz(31.5754, 16.2732, 36.5929)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA20A4 #20CA46
analogous
#9B20CA #CA20A4 #CA204F
triadic
#CA20A4 #A4CA20 #20A4CA
tetradic
#CA20A4 #CA9B20 #20CA46 #204FCA
square
#CA20A4 #CA9B20 #20CA46 #204FCA
split-complementary
#CA20A4 #4FCA20 #20CA9B
monochromatic
#600F4E #951879 #CA20A4 #E246BF #EA7AD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA20A4#FFFFFF#000000##FFFFFF
##CA20A41.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)
#3060A7
Deuteranopia (green-blind)
#6A79A0
Tritanopia (blue-blind)
#D62963
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca20a4;
/* rgb */ color: rgb(202, 32, 164);
/* oklch */ color: oklch(57.7% 0.234 339.7);
Tailwind
colors: {
  custom: {
    50: '#df73bf',
    500: '#ca20a4',
    950: '#000000',
  },
}
SCSS
$custom: #ca20a4;
$custom-light: #df73bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca20a4",
  "rgb": {
    "r": 202,
    "g": 32,
    "b": 164
  },
  "hsl": {
    "h": 313.412,
    "s": 72.65,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57716,
    "c": 0.23361,
    "h": 339.7
  },
  "luminance": 0.1627
}

Semantic roles & 50–950 ramp

primary
#CA20A4
secondary
#74D289
accent
#EF6138
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160912
muted
#847B81

Preview Lab

Preview with #CA20A4

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

Preview Lab → · Contrast checker → · Palette generator →

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