#CA52B2#CA52B2

#CA52B2 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.6% C 0.188 H 336.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#CA52B2
RGBrgb(202, 82, 178)
HSLhsl(312, 53%, 56%)
HSVhsv(312, 59%, 79%)
CMYKcmyk(0%, 59.4%, 11.9%, 20.8%)
CIE-LABlab(53.82, 58.82, -27.99)
CIE-LCHlch(53.82, 65.14, 334.55°)
OKLaboklab(62.63% 0.1716 -0.0759)
OKLCHoklch(62.63% 0.188 336.1)
XYZxyz(35.4106, 21.8083, 44.4552)
Luminance0.2180 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52B2 #52CA6A
analogous
#A652CA #CA52B2 #CA5276
triadic
#CA52B2 #B2CA52 #52B2CA
tetradic
#CA52B2 #CAA652 #52CA6A #5276CA
square
#CA52B2 #CAA652 #52CA6A #5276CA
split-complementary
#CA52B2 #76CA52 #52CAA6
monochromatic
#7C266B #AB3493 #CA52B2 #D881C7 #E7B0DC

Accessibility & contrast

On white

3.92
#CA52B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#CA52B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52B2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52B2#FFFFFF#000000##000000
##CA52B21.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5375B5
Deuteranopia (green-blind)
#7887AF
Tritanopia (blue-blind)
#D4587B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ca52b2;
/* rgb */ color: rgb(202, 82, 178);
/* oklch */ color: oklch(62.6% 0.188 336.1);
Tailwind
colors: {
  custom: {
    50: '#dd89c9',
    500: '#ca52b2',
    950: '#000000',
  },
}
SCSS
$custom: #ca52b2;
$custom-light: #dd89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52b2",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 312,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62632,
    "c": 0.18768,
    "h": 336.1
  },
  "luminance": 0.21805
}

Semantic roles & 50–950 ramp

primary
#CA52B2
secondary
#A3D5AD
accent
#DD684B
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA52B2

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

Preview Lab → · Contrast checker → · Palette generator →

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