#CA24A6#CA24A6

#CA24A6 is a mid, highly saturated pink. Relative luminance 0.166; OKLCH L 58.0% C 0.232 H 339.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CA24A6
RGBrgb(202, 36, 166)
HSLhsl(313, 70%, 47%)
HSVhsv(313, 82%, 79%)
CMYKcmyk(0%, 82.2%, 17.8%, 20.8%)
CIE-LABlab(47.72, 72.72, -30.44)
CIE-LCHlch(47.72, 78.83, 337.28°)
OKLaboklab(58.03% 0.2168 -0.0825)
OKLCHoklch(58.03% 0.232 339.2)
XYZxyz(31.8718, 16.5748, 37.5897)
Luminance0.1657 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA24A6 #24CA48
analogous
#9B24CA #CA24A6 #CA2453
triadic
#CA24A6 #A6CA24 #24A6CA
tetradic
#CA24A6 #CA9B24 #24CA48 #2453CA
square
#CA24A6 #CA9B24 #24CA48 #2453CA
split-complementary
#CA24A6 #53CA24 #24CA9B
monochromatic
#621151 #961B7B #CA24A6 #DF4CBF #E880D2

Accessibility & contrast

On white

4.87
#CA24A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#CA24A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA24A6
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA24A6#FFFFFF#000000##FFFFFF
##CA24A61.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3161A9
Deuteranopia (green-blind)
#6A7AA2
Tritanopia (blue-blind)
#D62D65
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca24a6;
/* rgb */ color: rgb(202, 36, 166);
/* oklch */ color: oklch(58.0% 0.232 339.2);
Tailwind
colors: {
  custom: {
    50: '#df74c0',
    500: '#ca24a6',
    950: '#000000',
  },
}
SCSS
$custom: #ca24a6;
$custom-light: #df74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca24a6",
  "rgb": {
    "r": 202,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 313.012,
    "s": 69.748,
    "l": 46.667
  },
  "oklch": {
    "l": 0.58026,
    "c": 0.23194,
    "h": 339.2
  },
  "luminance": 0.16571
}

Semantic roles & 50–950 ramp

primary
#CA24A6
secondary
#79D18C
accent
#ED623B
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA24A6

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

Preview Lab → · Contrast checker → · Palette generator →

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