#CA20A2#CA20A2

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

Color values

HEX#CA20A2
RGBrgb(202, 32, 162)
HSLhsl(314, 73%, 46%)
HSVhsv(314, 84%, 79%)
CMYKcmyk(0%, 84.2%, 19.8%, 20.8%)
CIE-LABlab(47.24, 73.06, -28.82)
CIE-LCHlch(47.24, 78.53, 338.47°)
OKLaboklab(57.62% 0.219 -0.0779)
OKLCHoklch(57.62% 0.232 340.4)
XYZxyz(31.3963, 16.2015, 35.6492)
Luminance0.1620 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA20A2 #20CA48
analogous
#9D20CA #CA20A2 #CA204D
triadic
#CA20A2 #A2CA20 #20A2CA
tetradic
#CA20A2 #CA9D20 #20CA48 #204DCA
square
#CA20A2 #CA9D20 #20CA48 #204DCA
split-complementary
#CA20A2 #4DCA20 #20CA9D
monochromatic
#600F4D #951878 #CA20A2 #E246BD #EA7AD0

Accessibility & contrast

On white

4.95
#CA20A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CA20A2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA20A2#FFFFFF#000000##FFFFFF
##CA20A21.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA5
Deuteranopia (green-blind)
#6B799E
Tritanopia (blue-blind)
#D62762
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca20a2;
/* rgb */ color: rgb(202, 32, 162);
/* oklch */ color: oklch(57.6% 0.232 340.4);
Tailwind
colors: {
  custom: {
    50: '#df73be',
    500: '#ca20a2',
    950: '#000000',
  },
}
SCSS
$custom: #ca20a2;
$custom-light: #df73be;
$custom-dark: #000000;
JSON
{
  "hex": "#ca20a2",
  "rgb": {
    "r": 202,
    "g": 32,
    "b": 162
  },
  "hsl": {
    "h": 314.118,
    "s": 72.65,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57619,
    "c": 0.23241,
    "h": 340.4
  },
  "luminance": 0.16198
}

Semantic roles & 50–950 ramp

primary
#CA20A2
secondary
#74D28A
accent
#EF6338
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160912
muted
#847B81

Preview Lab

Preview with #CA20A2

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

Preview Lab → · Contrast checker → · Palette generator →

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