#CA52A2#CA52A2

#CA52A2 is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.9% C 0.176 H 342.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#CA52A2
RGBrgb(202, 82, 162)
HSLhsl(320, 53%, 56%)
HSVhsv(320, 59%, 79%)
CMYKcmyk(0%, 59.4%, 19.8%, 20.8%)
CIE-LABlab(53.17, 56.43, -19.65)
CIE-LCHlch(53.17, 59.75, 340.80°)
OKLaboklab(61.94% 0.1684 -0.0524)
OKLCHoklch(61.94% 0.176 342.7)
XYZxyz(33.8969, 21.2028, 36.4827)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52A2 #52CA7A
analogous
#B652CA #CA52A2 #CA5266
triadic
#CA52A2 #A2CA52 #52A2CA
tetradic
#CA52A2 #CAB652 #52CA7A #5266CA
square
#CA52A2 #CAB652 #52CA7A #5266CA
split-complementary
#CA52A2 #66CA52 #52CAB6
monochromatic
#7C265F #AB3483 #CA52A2 #D881BB #E7B0D4

Accessibility & contrast

On white

4.01
#CA52A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#CA52A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52A2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52A2#FFFFFF#000000##000000
##CA52A21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca52a2;
/* rgb */ color: rgb(202, 82, 162);
/* oklch */ color: oklch(61.9% 0.176 342.7);
Tailwind
colors: {
  custom: {
    50: '#dd89bd',
    500: '#ca52a2',
    950: '#000000',
  },
}
SCSS
$custom: #ca52a2;
$custom-light: #dd89bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52a2",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 320,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61938,
    "c": 0.17642,
    "h": 342.7
  },
  "luminance": 0.212
}

Semantic roles & 50–950 ramp

primary
#CA52A2
secondary
#A3D5B4
accent
#DD7C4B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#150C12
muted
#847D81

Preview Lab

Preview with #CA52A2

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

Preview Lab → · Contrast checker → · Palette generator →

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