#CA24A5#CA24A5

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

Color values

HEX#CA24A5
RGBrgb(202, 36, 165)
HSLhsl(313, 70%, 47%)
HSVhsv(313, 82%, 79%)
CMYKcmyk(0%, 82.2%, 18.3%, 20.8%)
CIE-LABlab(47.67, 72.59, -29.92)
CIE-LCHlch(47.67, 78.51, 337.60°)
OKLaboklab(57.98% 0.2167 -0.081)
OKLCHoklch(57.98% 0.231 339.5)
XYZxyz(31.7805, 16.5382, 37.1085)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA24A5 #24CA49
analogous
#9C24CA #CA24A5 #CA2452
triadic
#CA24A5 #A5CA24 #24A5CA
tetradic
#CA24A5 #CA9C24 #24CA49 #2452CA
square
#CA24A5 #CA9C24 #24CA49 #2452CA
split-complementary
#CA24A5 #52CA24 #24CA9C
monochromatic
#621150 #961B7B #CA24A5 #DF4CBE #E880D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA24A5#FFFFFF#000000##FFFFFF
##CA24A51.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3261A8
Deuteranopia (green-blind)
#6B7AA1
Tritanopia (blue-blind)
#D62C65
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca24a5;
/* rgb */ color: rgb(202, 36, 165);
/* oklch */ color: oklch(58.0% 0.231 339.5);
Tailwind
colors: {
  custom: {
    50: '#df74c0',
    500: '#ca24a5',
    950: '#000000',
  },
}
SCSS
$custom: #ca24a5;
$custom-light: #df74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca24a5",
  "rgb": {
    "r": 202,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 313.373,
    "s": 69.748,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57977,
    "c": 0.23133,
    "h": 339.5
  },
  "luminance": 0.16535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA24A5

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

Preview Lab → · Contrast checker → · Palette generator →

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