#CA24A7#CA24A7

#CA24A7 is a mid, highly saturated pink. Relative luminance 0.166; OKLCH L 58.1% C 0.233 H 338.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CA24A7
RGBrgb(202, 36, 167)
HSLhsl(313, 70%, 47%)
HSVhsv(313, 82%, 79%)
CMYKcmyk(0%, 82.2%, 17.3%, 20.8%)
CIE-LABlab(47.77, 72.85, -30.96)
CIE-LCHlch(47.77, 79.15, 336.97°)
OKLaboklab(58.08% 0.2169 -0.084)
OKLCHoklch(58.08% 0.233 338.8)
XYZxyz(31.9639, 16.6116, 38.0747)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA24A7 #24CA47
analogous
#9A24CA #CA24A7 #CA2454
triadic
#CA24A7 #A7CA24 #24A7CA
tetradic
#CA24A7 #CA9A24 #24CA47 #2454CA
square
#CA24A7 #CA9A24 #24CA47 #2454CA
split-complementary
#CA24A7 #54CA24 #24CA9A
monochromatic
#621151 #961B7C #CA24A7 #DF4CC0 #E880D2

Accessibility & contrast

On white

4.86
#CA24A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#CA24A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA24A7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA24A7#FFFFFF#000000##FFFFFF
##CA24A71.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3061AA
Deuteranopia (green-blind)
#6A7AA3
Tritanopia (blue-blind)
#D62E66
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca24a7;
/* rgb */ color: rgb(202, 36, 167);
/* oklch */ color: oklch(58.1% 0.233 338.8);
Tailwind
colors: {
  custom: {
    50: '#df75c1',
    500: '#ca24a7',
    950: '#000000',
  },
}
SCSS
$custom: #ca24a7;
$custom-light: #df75c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca24a7",
  "rgb": {
    "r": 202,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 312.651,
    "s": 69.748,
    "l": 46.667
  },
  "oklch": {
    "l": 0.58075,
    "c": 0.23256,
    "h": 338.8
  },
  "luminance": 0.16608
}

Semantic roles & 50–950 ramp

primary
#CA24A7
secondary
#79D18B
accent
#ED613B
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA24A7

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

Preview Lab → · Contrast checker → · Palette generator →

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