#CA52B4#CA52B4

#CA52B4 is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.7% C 0.189 H 335.4°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#CA52B4
RGBrgb(202, 82, 180)
HSLhsl(311, 53%, 56%)
HSVhsv(311, 59%, 79%)
CMYKcmyk(0%, 59.4%, 10.9%, 20.8%)
CIE-LABlab(53.91, 59.13, -29.01)
CIE-LCHlch(53.91, 65.86, 333.86°)
OKLaboklab(62.72% 0.172 -0.0788)
OKLCHoklch(62.72% 0.189 335.4)
XYZxyz(35.6129, 21.8892, 45.5205)
Luminance0.2189 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52B4 #52CA68
analogous
#A452CA #CA52B4 #CA5278
triadic
#CA52B4 #B4CA52 #52B4CA
tetradic
#CA52B4 #CAA452 #52CA68 #5278CA
square
#CA52B4 #CAA452 #52CA68 #5278CA
split-complementary
#CA52B4 #78CA52 #52CAA4
monochromatic
#7C266C #AB3495 #CA52B4 #D881C8 #E7B0DD

Accessibility & contrast

On white

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

On black

5.38
#CA52B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52B4
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52B4#FFFFFF#000000##000000
##CA52B41.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5275B7
Deuteranopia (green-blind)
#7787B1
Tritanopia (blue-blind)
#D3597C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ca52b4;
/* rgb */ color: rgb(202, 82, 180);
/* oklch */ color: oklch(62.7% 0.189 335.4);
Tailwind
colors: {
  custom: {
    50: '#dd89ca',
    500: '#ca52b4',
    950: '#000000',
  },
}
SCSS
$custom: #ca52b4;
$custom-light: #dd89ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52b4",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 180
  },
  "hsl": {
    "h": 311,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62724,
    "c": 0.18918,
    "h": 335.4
  },
  "luminance": 0.21886
}

Semantic roles & 50–950 ramp

primary
#CA52B4
secondary
#A3D5AC
accent
#DD664B
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA52B4

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

Preview Lab → · Contrast checker → · Palette generator →

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