#CA24A2#CA24A2

#CA24A2 is a mid, highly saturated pink. Relative luminance 0.164; OKLCH L 57.8% C 0.230 H 340.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CA24A2
RGBrgb(202, 36, 162)
HSLhsl(314, 70%, 47%)
HSVhsv(314, 82%, 79%)
CMYKcmyk(0%, 82.2%, 19.8%, 20.8%)
CIE-LABlab(47.53, 72.20, -28.35)
CIE-LCHlch(47.53, 77.57, 338.56°)
OKLaboklab(57.83% 0.2164 -0.0766)
OKLCHoklch(57.83% 0.23 340.5)
XYZxyz(31.5106, 16.4303, 35.6873)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA24A2 #24CA4C
analogous
#9F24CA #CA24A2 #CA244F
triadic
#CA24A2 #A2CA24 #24A2CA
tetradic
#CA24A2 #CA9F24 #24CA4C #244FCA
square
#CA24A2 #CA9F24 #24CA4C #244FCA
split-complementary
#CA24A2 #4FCA24 #24CA9F
monochromatic
#62114F #961B78 #CA24A2 #DF4CBC #E880CF

Accessibility & contrast

On white

4.90
#CA24A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#CA24A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA24A2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA24A2#FFFFFF#000000##FFFFFF
##CA24A21.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A5
Deuteranopia (green-blind)
#6C7A9E
Tritanopia (blue-blind)
#D62A63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca24a2;
/* rgb */ color: rgb(202, 36, 162);
/* oklch */ color: oklch(57.8% 0.230 340.5);
Tailwind
colors: {
  custom: {
    50: '#df74be',
    500: '#ca24a2',
    950: '#000000',
  },
}
SCSS
$custom: #ca24a2;
$custom-light: #df74be;
$custom-dark: #000000;
JSON
{
  "hex": "#ca24a2",
  "rgb": {
    "r": 202,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 314.458,
    "s": 69.748,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57832,
    "c": 0.22951,
    "h": 340.5
  },
  "luminance": 0.16427
}

Semantic roles & 50–950 ramp

primary
#CA24A2
secondary
#79D18E
accent
#ED663B
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA24A2

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

Preview Lab → · Contrast checker → · Palette generator →

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