#CA52B6#CA52B6

#CA52B6 is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.8% C 0.191 H 334.6°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#CA52B6
RGBrgb(202, 82, 182)
HSLhsl(310, 53%, 56%)
HSVhsv(310, 59%, 79%)
CMYKcmyk(0%, 59.4%, 9.9%, 20.8%)
CIE-LABlab(54.00, 59.44, -30.04)
CIE-LCHlch(54.00, 66.60, 333.19°)
OKLaboklab(62.82% 0.1723 -0.0817)
OKLCHoklch(62.82% 0.191 334.6)
XYZxyz(35.8181, 21.9713, 46.6013)
Luminance0.2197 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52B6 #52CA66
analogous
#A252CA #CA52B6 #CA527A
triadic
#CA52B6 #B6CA52 #52B6CA
tetradic
#CA52B6 #CAA252 #52CA66 #527ACA
square
#CA52B6 #CAA252 #52CA66 #527ACA
split-complementary
#CA52B6 #7ACA52 #52CAA2
monochromatic
#7C266D #AB3497 #CA52B6 #D881CA #E7B0DE

Accessibility & contrast

On white

3.89
#CA52B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#CA52B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52B6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52B6#FFFFFF#000000##000000
##CA52B61.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5176B9
Deuteranopia (green-blind)
#7788B3
Tritanopia (blue-blind)
#D35A7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ca52b6;
/* rgb */ color: rgb(202, 82, 182);
/* oklch */ color: oklch(62.8% 0.191 334.6);
Tailwind
colors: {
  custom: {
    50: '#dd89cc',
    500: '#ca52b6',
    950: '#000000',
  },
}
SCSS
$custom: #ca52b6;
$custom-light: #dd89cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52b6",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 182
  },
  "hsl": {
    "h": 310,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62816,
    "c": 0.19071,
    "h": 334.6
  },
  "luminance": 0.21969
}

Semantic roles & 50–950 ramp

primary
#CA52B6
secondary
#A3D5AB
accent
#DD634B
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA52B6

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

Preview Lab → · Contrast checker → · Palette generator →

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