#CA52A3#CA52A3

#CA52A3 is a mid, vivid pink. Relative luminance 0.212; OKLCH L 62.0% C 0.177 H 342.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#CA52A3
RGBrgb(202, 82, 163)
HSLhsl(320, 53%, 56%)
HSVhsv(320, 59%, 79%)
CMYKcmyk(0%, 59.4%, 19.3%, 20.8%)
CIE-LABlab(53.21, 56.57, -20.18)
CIE-LCHlch(53.21, 60.06, 340.37°)
OKLaboklab(61.98% 0.1687 -0.0539)
OKLCHoklch(61.98% 0.177 342.3)
XYZxyz(33.9861, 21.2385, 36.9527)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52A3 #52CA79
analogous
#B552CA #CA52A3 #CA5267
triadic
#CA52A3 #A3CA52 #52A3CA
tetradic
#CA52A3 #CAB552 #52CA79 #5267CA
square
#CA52A3 #CAB552 #52CA79 #5267CA
split-complementary
#CA52A3 #67CA52 #52CAB5
monochromatic
#7C2660 #AB3484 #CA52A3 #D881BC #E7B0D5

Accessibility & contrast

On white

4.00
#CA52A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CA52A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52A3
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52A3#FFFFFF#000000##000000
##CA52A31.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B73A6
Deuteranopia (green-blind)
#7D86A0
Tritanopia (blue-blind)
#D65373
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ca52a3;
/* rgb */ color: rgb(202, 82, 163);
/* oklch */ color: oklch(62.0% 0.177 342.3);
Tailwind
colors: {
  custom: {
    50: '#dd89be',
    500: '#ca52a3',
    950: '#000000',
  },
}
SCSS
$custom: #ca52a3;
$custom-light: #dd89be;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52a3",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 163
  },
  "hsl": {
    "h": 319.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6198,
    "c": 0.17708,
    "h": 342.3
  },
  "luminance": 0.21235
}

Semantic roles & 50–950 ramp

primary
#CA52A3
secondary
#A3D5B3
accent
#DD7A4B
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #CA52A3

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

Preview Lab → · Contrast checker → · Palette generator →

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