#CA24A1#CA24A1

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

Color values

HEX#CA24A1
RGBrgb(202, 36, 161)
HSLhsl(315, 70%, 47%)
HSVhsv(315, 82%, 79%)
CMYKcmyk(0%, 82.2%, 20.3%, 20.8%)
CIE-LABlab(47.49, 72.07, -27.83)
CIE-LCHlch(47.49, 77.26, 338.89°)
OKLaboklab(57.78% 0.2162 -0.0751)
OKLCHoklch(57.78% 0.229 340.8)
XYZxyz(31.4221, 16.3948, 35.2210)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA24A1 #24CA4D
analogous
#A024CA #CA24A1 #CA244E
triadic
#CA24A1 #A1CA24 #24A1CA
tetradic
#CA24A1 #CAA024 #24CA4D #244ECA
square
#CA24A1 #CAA024 #24CA4D #244ECA
split-complementary
#CA24A1 #4ECA24 #24CAA0
monochromatic
#62114E #961B78 #CA24A1 #DF4CBB #E880CF

Accessibility & contrast

On white

4.91
#CA24A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#CA24A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA24A1
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA24A1#FFFFFF#000000##FFFFFF
##CA24A11.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A4
Deuteranopia (green-blind)
#6C7A9D
Tritanopia (blue-blind)
#D72A62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca24a1;
/* rgb */ color: rgb(202, 36, 161);
/* oklch */ color: oklch(57.8% 0.229 340.8);
Tailwind
colors: {
  custom: {
    50: '#df74bd',
    500: '#ca24a1',
    950: '#000000',
  },
}
SCSS
$custom: #ca24a1;
$custom-light: #df74bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca24a1",
  "rgb": {
    "r": 202,
    "g": 36,
    "b": 161
  },
  "hsl": {
    "h": 314.819,
    "s": 69.748,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57784,
    "c": 0.22891,
    "h": 340.8
  },
  "luminance": 0.16392
}

Semantic roles & 50–950 ramp

primary
#CA24A1
secondary
#79D18F
accent
#ED673B
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA24A1

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

Preview Lab → · Contrast checker → · Palette generator →

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