#CA2AA8#CA2AA8

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

Color values

HEX#CA2AA8
RGBrgb(202, 42, 168)
HSLhsl(313, 66%, 48%)
HSVhsv(313, 79%, 79%)
CMYKcmyk(0%, 79.2%, 16.8%, 20.8%)
CIE-LABlab(48.31, 71.54, -30.70)
CIE-LCHlch(48.31, 77.85, 336.77°)
OKLaboklab(58.48% 0.2126 -0.0833)
OKLCHoklch(58.48% 0.228 338.6)
XYZxyz(32.2538, 17.0429, 38.6292)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2AA8 #2ACA4C
analogous
#9C2ACA #CA2AA8 #CA2A58
triadic
#CA2AA8 #A8CA2A #2AA8CA
tetradic
#CA2AA8 #CA9C2A #2ACA4C #2A58CA
square
#CA2AA8 #CA9C2A #2ACA4C #2A58CA
split-complementary
#CA2AA8 #58CA2A #2ACA9C
monochromatic
#651554 #971F7E #CA2AA8 #DC55BF #E688D2

Accessibility & contrast

On white

4.76
#CA2AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#CA2AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2AA8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2AA8#FFFFFF#000000##FFFFFF
##CA2AA81.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3463AB
Deuteranopia (green-blind)
#6B7BA4
Tritanopia (blue-blind)
#D63368
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca2aa8;
/* rgb */ color: rgb(202, 42, 168);
/* oklch */ color: oklch(58.5% 0.228 338.6);
Tailwind
colors: {
  custom: {
    50: '#df76c2',
    500: '#ca2aa8',
    950: '#000000',
  },
}
SCSS
$custom: #ca2aa8;
$custom-light: #df76c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2aa8",
  "rgb": {
    "r": 202,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 312.75,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58483,
    "c": 0.22832,
    "h": 338.6
  },
  "luminance": 0.1704
}

Semantic roles & 50–950 ramp

primary
#CA2AA8
secondary
#80D091
accent
#E9633F
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA2AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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