#CA20A6#CA20A6

#CA20A6 is a mid, highly saturated pink. Relative luminance 0.163; OKLCH L 57.8% C 0.235 H 339.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CA20A6
RGBrgb(202, 32, 166)
HSLhsl(313, 73%, 46%)
HSVhsv(313, 84%, 79%)
CMYKcmyk(0%, 84.2%, 17.8%, 20.8%)
CIE-LABlab(47.43, 73.57, -30.90)
CIE-LCHlch(47.43, 79.80, 337.22°)
OKLaboklab(57.82% 0.2194 -0.0838)
OKLCHoklch(57.82% 0.235 339.1)
XYZxyz(31.7575, 16.3460, 37.5516)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA20A6 #20CA44
analogous
#9920CA #CA20A6 #CA2051
triadic
#CA20A6 #A6CA20 #20A6CA
tetradic
#CA20A6 #CA9920 #20CA44 #2051CA
square
#CA20A6 #CA9920 #20CA44 #2051CA
split-complementary
#CA20A6 #51CA20 #20CA99
monochromatic
#600F4F #95187B #CA20A6 #E246C1 #EA7AD2

Accessibility & contrast

On white

4.92
#CA20A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#CA20A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA20A6
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA20A6#FFFFFF#000000##FFFFFF
##CA20A61.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E60A9
Deuteranopia (green-blind)
#697AA2
Tritanopia (blue-blind)
#D62A64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca20a6;
/* rgb */ color: rgb(202, 32, 166);
/* oklch */ color: oklch(57.8% 0.235 339.1);
Tailwind
colors: {
  custom: {
    50: '#df73c1',
    500: '#ca20a6',
    950: '#000000',
  },
}
SCSS
$custom: #ca20a6;
$custom-light: #df73c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca20a6",
  "rgb": {
    "r": 202,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 312.706,
    "s": 72.65,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57815,
    "c": 0.23482,
    "h": 339.1
  },
  "luminance": 0.16343
}

Semantic roles & 50–950 ramp

primary
#CA20A6
secondary
#74D288
accent
#EF5F38
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160912
muted
#847B81

Preview Lab

Preview with #CA20A6

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

Preview Lab → · Contrast checker → · Palette generator →

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