#CA52B3#CA52B3

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

Color values

HEX#CA52B3
RGBrgb(202, 82, 179)
HSLhsl(312, 53%, 56%)
HSVhsv(312, 59%, 79%)
CMYKcmyk(0%, 59.4%, 11.4%, 20.8%)
CIE-LABlab(53.87, 58.97, -28.50)
CIE-LCHlch(53.87, 65.50, 334.21°)
OKLaboklab(62.68% 0.1718 -0.0774)
OKLCHoklch(62.68% 0.188 335.8)
XYZxyz(35.5114, 21.8486, 44.9860)
Luminance0.2185 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52B3 #52CA69
analogous
#A552CA #CA52B3 #CA5277
triadic
#CA52B3 #B3CA52 #52B3CA
tetradic
#CA52B3 #CAA552 #52CA69 #5277CA
square
#CA52B3 #CAA552 #52CA69 #5277CA
split-complementary
#CA52B3 #77CA52 #52CAA5
monochromatic
#7C266B #AB3494 #CA52B3 #D881C8 #E7B0DC

Accessibility & contrast

On white

3.91
#CA52B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#CA52B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52B3
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52B3#FFFFFF#000000##000000
##CA52B31.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5375B6
Deuteranopia (green-blind)
#7887B0
Tritanopia (blue-blind)
#D3597B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ca52b3;
/* rgb */ color: rgb(202, 82, 179);
/* oklch */ color: oklch(62.7% 0.188 335.8);
Tailwind
colors: {
  custom: {
    50: '#dd89ca',
    500: '#ca52b3',
    950: '#000000',
  },
}
SCSS
$custom: #ca52b3;
$custom-light: #dd89ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52b3",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 179
  },
  "hsl": {
    "h": 311.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62678,
    "c": 0.18842,
    "h": 335.8
  },
  "luminance": 0.21846
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA52B3

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

Preview Lab → · Contrast checker → · Palette generator →

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