#CA24A4#CA24A4

#CA24A4 is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.9% C 0.231 H 339.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CA24A4
RGBrgb(202, 36, 164)
HSLhsl(314, 70%, 47%)
HSVhsv(314, 82%, 79%)
CMYKcmyk(0%, 82.2%, 18.8%, 20.8%)
CIE-LABlab(47.63, 72.46, -29.40)
CIE-LCHlch(47.63, 78.19, 337.92°)
OKLaboklab(57.93% 0.2166 -0.0796)
OKLCHoklch(57.93% 0.231 339.8)
XYZxyz(31.6898, 16.5019, 36.6310)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA24A4 #24CA4A
analogous
#9D24CA #CA24A4 #CA2451
triadic
#CA24A4 #A4CA24 #24A4CA
tetradic
#CA24A4 #CA9D24 #24CA4A #2451CA
square
#CA24A4 #CA9D24 #24CA4A #2451CA
split-complementary
#CA24A4 #51CA24 #24CA9D
monochromatic
#621150 #961B7A #CA24A4 #DF4CBD #E880D0

Accessibility & contrast

On white

4.88
#CA24A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#CA24A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA24A4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA24A4#FFFFFF#000000##FFFFFF
##CA24A41.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3261A7
Deuteranopia (green-blind)
#6B7AA0
Tritanopia (blue-blind)
#D62C64
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca24a4;
/* rgb */ color: rgb(202, 36, 164);
/* oklch */ color: oklch(57.9% 0.231 339.8);
Tailwind
colors: {
  custom: {
    50: '#df74bf',
    500: '#ca24a4',
    950: '#000000',
  },
}
SCSS
$custom: #ca24a4;
$custom-light: #df74bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca24a4",
  "rgb": {
    "r": 202,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 313.735,
    "s": 69.748,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57928,
    "c": 0.23072,
    "h": 339.8
  },
  "luminance": 0.16499
}

Semantic roles & 50–950 ramp

primary
#CA24A4
secondary
#79D18D
accent
#ED643B
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA24A4

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

Preview Lab → · Contrast checker → · Palette generator →

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