#CA28A3#CA28A3

#CA28A3 is a mid, highly saturated pink. Relative luminance 0.167; OKLCH L 58.1% C 0.227 H 340.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CA28A3
RGBrgb(202, 40, 163)
HSLhsl(314, 67%, 47%)
HSVhsv(314, 80%, 79%)
CMYKcmyk(0%, 80.2%, 19.3%, 20.8%)
CIE-LABlab(47.91, 71.38, -28.37)
CIE-LCHlch(47.91, 76.81, 338.33°)
OKLaboklab(58.12% 0.2136 -0.0767)
OKLCHoklch(58.12% 0.227 340.3)
XYZxyz(31.7278, 16.7218, 36.1999)
Luminance0.1672 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA28A3 #28CA4F
analogous
#A028CA #CA28A3 #CA2852
triadic
#CA28A3 #A3CA28 #28A3CA
tetradic
#CA28A3 #CAA028 #28CA4F #2852CA
square
#CA28A3 #CAA028 #28CA4F #2852CA
split-complementary
#CA28A3 #52CA28 #28CAA0
monochromatic
#641451 #971E7A #CA28A3 #DD52BB #E785CF

Accessibility & contrast

On white

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

On black

4.34
#CA28A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CA28A3#FFFFFF#000000##FFFFFF
##CA28A31.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A6
Deuteranopia (green-blind)
#6D7B9F
Tritanopia (blue-blind)
#D62E64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ca28a3;
/* rgb */ color: rgb(202, 40, 163);
/* oklch */ color: oklch(58.1% 0.227 340.3);
Tailwind
colors: {
  custom: {
    50: '#df76be',
    500: '#ca28a3',
    950: '#000000',
  },
}
SCSS
$custom: #ca28a3;
$custom-light: #df76be;
$custom-dark: #000000;
JSON
{
  "hex": "#ca28a3",
  "rgb": {
    "r": 202,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 314.444,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58115,
    "c": 0.22692,
    "h": 340.3
  },
  "luminance": 0.16718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA28A3

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

Preview Lab → · Contrast checker → · Palette generator →

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