#CA28A0#CA28A0

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

Color values

HEX#CA28A0
RGBrgb(202, 40, 160)
HSLhsl(316, 67%, 47%)
HSVhsv(316, 80%, 79%)
CMYKcmyk(0%, 80.2%, 20.8%, 20.8%)
CIE-LABlab(47.77, 71.00, -26.79)
CIE-LCHlch(47.77, 75.88, 339.32°)
OKLaboklab(57.97% 0.2132 -0.0722)
OKLCHoklch(57.97% 0.225 341.3)
XYZxyz(31.4622, 16.6155, 34.8011)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA28A0 #28CA52
analogous
#A328CA #CA28A0 #CA284F
triadic
#CA28A0 #A0CA28 #28A0CA
tetradic
#CA28A0 #CAA328 #28CA52 #284FCA
square
#CA28A0 #CAA328 #28CA52 #284FCA
split-complementary
#CA28A0 #4FCA28 #28CAA3
monochromatic
#64144F #971E78 #CA28A0 #DD52B9 #E785CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA28A0#FFFFFF#000000##FFFFFF
##CA28A01.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)
#3961A3
Deuteranopia (green-blind)
#6E7B9C
Tritanopia (blue-blind)
#D72C63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca28a0;
/* rgb */ color: rgb(202, 40, 160);
/* oklch */ color: oklch(58.0% 0.225 341.3);
Tailwind
colors: {
  custom: {
    50: '#df76bc',
    500: '#ca28a0',
    950: '#000000',
  },
}
SCSS
$custom: #ca28a0;
$custom-light: #df76bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca28a0",
  "rgb": {
    "r": 202,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 315.556,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57974,
    "c": 0.2251,
    "h": 341.3
  },
  "luminance": 0.16612
}

Semantic roles & 50–950 ramp

primary
#CA28A0
secondary
#7ED093
accent
#EA6B3E
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA28A0

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

Preview Lab → · Contrast checker → · Palette generator →

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