#CA52AC#CA52AC

#CA52AC is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.4% C 0.183 H 338.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#CA52AC
RGBrgb(202, 82, 172)
HSLhsl(315, 53%, 56%)
HSVhsv(315, 59%, 79%)
CMYKcmyk(0%, 59.4%, 14.9%, 20.8%)
CIE-LABlab(53.57, 57.90, -24.89)
CIE-LCHlch(53.57, 63.02, 336.74°)
OKLaboklab(62.36% 0.1706 -0.0671)
OKLCHoklch(62.36% 0.183 338.5)
XYZxyz(34.8214, 21.5726, 41.3517)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52AC #52CA70
analogous
#AC52CA #CA52AC #CA5270
triadic
#CA52AC #ACCA52 #52ACCA
tetradic
#CA52AC #CAAC52 #52CA70 #5270CA
square
#CA52AC #CAAC52 #52CA70 #5270CA
split-complementary
#CA52AC #70CA52 #52CAAC
monochromatic
#7C2666 #AB348D #CA52AC #D881C2 #E7B0D9

Accessibility & contrast

On white

3.95
#CA52AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#CA52AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52AC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52AC#FFFFFF#000000##000000
##CA52AC1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5774AF
Deuteranopia (green-blind)
#7A87A9
Tritanopia (blue-blind)
#D45678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ca52ac;
/* rgb */ color: rgb(202, 82, 172);
/* oklch */ color: oklch(62.4% 0.183 338.5);
Tailwind
colors: {
  custom: {
    50: '#dd89c5',
    500: '#ca52ac',
    950: '#000000',
  },
}
SCSS
$custom: #ca52ac;
$custom-light: #dd89c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52ac",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 315,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62364,
    "c": 0.18329,
    "h": 338.5
  },
  "luminance": 0.2157
}

Semantic roles & 50–950 ramp

primary
#CA52AC
secondary
#A3D5AF
accent
#DD704B
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA52AC

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

Preview Lab → · Contrast checker → · Palette generator →

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