#CA28A6#CA28A6

#CA28A6 is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 58.3% C 0.229 H 339.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CA28A6
RGBrgb(202, 40, 166)
HSLhsl(313, 67%, 47%)
HSVhsv(313, 80%, 79%)
CMYKcmyk(0%, 80.2%, 17.8%, 20.8%)
CIE-LABlab(48.05, 71.77, -29.93)
CIE-LCHlch(48.05, 77.77, 337.36°)
OKLaboklab(58.26% 0.2139 -0.0811)
OKLCHoklch(58.26% 0.229 339.2)
XYZxyz(31.9997, 16.8306, 37.6324)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA28A6 #28CA4C
analogous
#9D28CA #CA28A6 #CA2855
triadic
#CA28A6 #A6CA28 #28A6CA
tetradic
#CA28A6 #CA9D28 #28CA4C #2855CA
square
#CA28A6 #CA9D28 #28CA4C #2855CA
split-complementary
#CA28A6 #55CA28 #28CA9D
monochromatic
#641452 #971E7C #CA28A6 #DD52BE #E785D1

Accessibility & contrast

On white

4.81
#CA28A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#CA28A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA28A6
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA28A6#FFFFFF#000000##FFFFFF
##CA28A61.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3462A9
Deuteranopia (green-blind)
#6B7BA2
Tritanopia (blue-blind)
#D63066
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ca28a6;
/* rgb */ color: rgb(202, 40, 166);
/* oklch */ color: oklch(58.3% 0.229 339.2);
Tailwind
colors: {
  custom: {
    50: '#df76c0',
    500: '#ca28a6',
    950: '#000000',
  },
}
SCSS
$custom: #ca28a6;
$custom-light: #df76c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca28a6",
  "rgb": {
    "r": 202,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 313.333,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5826,
    "c": 0.22876,
    "h": 339.2
  },
  "luminance": 0.16827
}

Semantic roles & 50–950 ramp

primary
#CA28A6
secondary
#7ED090
accent
#EA643E
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA28A6

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

Preview Lab → · Contrast checker → · Palette generator →

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