#CA52AB#CA52AB

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

Color values

HEX#CA52AB
RGBrgb(202, 82, 171)
HSLhsl(316, 53%, 56%)
HSVhsv(316, 59%, 79%)
CMYKcmyk(0%, 59.4%, 15.3%, 20.8%)
CIE-LABlab(53.53, 57.75, -24.37)
CIE-LCHlch(53.53, 62.68, 337.12°)
OKLaboklab(62.32% 0.1704 -0.0657)
OKLCHoklch(62.32% 0.183 338.9)
XYZxyz(34.7257, 21.5343, 40.8478)
Luminance0.2153 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52AB #52CA71
analogous
#AD52CA #CA52AB #CA526F
triadic
#CA52AB #ABCA52 #52ABCA
tetradic
#CA52AB #CAAD52 #52CA71 #526FCA
square
#CA52AB #CAAD52 #52CA71 #526FCA
split-complementary
#CA52AB #6FCA52 #52CAAD
monochromatic
#7C2666 #AB348C #CA52AB #D881C2 #E7B0D8

Accessibility & contrast

On white

3.96
#CA52AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA52AB#FFFFFF#000000##000000
##CA52AB1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5774AE
Deuteranopia (green-blind)
#7B87A8
Tritanopia (blue-blind)
#D55677
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ca52ab;
/* rgb */ color: rgb(202, 82, 171);
/* oklch */ color: oklch(62.3% 0.183 338.9);
Tailwind
colors: {
  custom: {
    50: '#dd89c4',
    500: '#ca52ab',
    950: '#000000',
  },
}
SCSS
$custom: #ca52ab;
$custom-light: #dd89c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52ab",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 315.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6232,
    "c": 0.18258,
    "h": 338.9
  },
  "luminance": 0.21531
}

Semantic roles & 50–950 ramp

primary
#CA52AB
secondary
#A3D5B0
accent
#DD714B
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #CA52AB

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

Preview Lab → · Contrast checker → · Palette generator →

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