#CA28A4#CA28A4

#CA28A4 is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 58.2% C 0.228 H 339.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CA28A4
RGBrgb(202, 40, 164)
HSLhsl(314, 67%, 47%)
HSVhsv(314, 80%, 79%)
CMYKcmyk(0%, 80.2%, 18.8%, 20.8%)
CIE-LABlab(47.95, 71.51, -28.89)
CIE-LCHlch(47.95, 77.13, 338.00°)
OKLaboklab(58.16% 0.2137 -0.0781)
OKLCHoklch(58.16% 0.228 339.9)
XYZxyz(31.8177, 16.7578, 36.6737)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA28A4 #28CA4E
analogous
#9F28CA #CA28A4 #CA2853
triadic
#CA28A4 #A4CA28 #28A4CA
tetradic
#CA28A4 #CA9F28 #28CA4E #2853CA
square
#CA28A4 #CA9F28 #28CA4E #2853CA
split-complementary
#CA28A4 #53CA28 #28CA9F
monochromatic
#641451 #971E7B #CA28A4 #DD52BC #E785D0

Accessibility & contrast

On white

4.83
#CA28A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#CA28A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA28A4
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA28A4#FFFFFF#000000##FFFFFF
##CA28A41.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3562A7
Deuteranopia (green-blind)
#6C7BA0
Tritanopia (blue-blind)
#D62F65
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ca28a4;
/* rgb */ color: rgb(202, 40, 164);
/* oklch */ color: oklch(58.2% 0.228 339.9);
Tailwind
colors: {
  custom: {
    50: '#df76bf',
    500: '#ca28a4',
    950: '#000000',
  },
}
SCSS
$custom: #ca28a4;
$custom-light: #df76bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca28a4",
  "rgb": {
    "r": 202,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 314.074,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58163,
    "c": 0.22753,
    "h": 339.9
  },
  "luminance": 0.16754
}

Semantic roles & 50–950 ramp

primary
#CA28A4
secondary
#7ED091
accent
#EA663E
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA28A4

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

Preview Lab → · Contrast checker → · Palette generator →

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