#CA28AA#CA28AA

#CA28AA is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.5% C 0.231 H 337.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CA28AA
RGBrgb(202, 40, 170)
HSLhsl(312, 67%, 47%)
HSVhsv(312, 80%, 79%)
CMYKcmyk(0%, 80.2%, 15.8%, 20.8%)
CIE-LABlab(48.23, 72.31, -32.01)
CIE-LCHlch(48.23, 79.07, 336.12°)
OKLaboklab(58.46% 0.2143 -0.087)
OKLCHoklch(58.46% 0.231 337.9)
XYZxyz(32.3724, 16.9796, 39.5949)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA28AA #28CA48
analogous
#9928CA #CA28AA #CA2859
triadic
#CA28AA #AACA28 #28AACA
tetradic
#CA28AA #CA9928 #28CA48 #2859CA
square
#CA28AA #CA9928 #28CA48 #2859CA
split-complementary
#CA28AA #59CA28 #28CA99
monochromatic
#641454 #971E7F #CA28AA #DD52C1 #E785D4

Accessibility & contrast

On white

4.78
#CA28AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#CA28AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA28AA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA28AA#FFFFFF#000000##FFFFFF
##CA28AA1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3063AD
Deuteranopia (green-blind)
#6A7BA6
Tritanopia (blue-blind)
#D53368
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ca28aa;
/* rgb */ color: rgb(202, 40, 170);
/* oklch */ color: oklch(58.5% 0.231 337.9);
Tailwind
colors: {
  custom: {
    50: '#df76c3',
    500: '#ca28aa',
    950: '#000000',
  },
}
SCSS
$custom: #ca28aa;
$custom-light: #df76c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca28aa",
  "rgb": {
    "r": 202,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 311.852,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58456,
    "c": 0.23128,
    "h": 337.9
  },
  "luminance": 0.16976
}

Semantic roles & 50–950 ramp

primary
#CA28AA
secondary
#7ED08E
accent
#EA603E
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA28AA

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

Preview Lab → · Contrast checker → · Palette generator →

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