#CA48A2#CA48A2

#CA48A2 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.8% C 0.191 H 342.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CA48A2
RGBrgb(202, 72, 162)
HSLhsl(318, 55%, 54%)
HSVhsv(318, 64%, 79%)
CMYKcmyk(0%, 64.4%, 19.8%, 20.8%)
CIE-LABlab(51.61, 60.68, -22.04)
CIE-LCHlch(51.61, 64.56, 340.04°)
OKLaboklab(60.79% 0.1813 -0.059)
OKLCHoklch(60.79% 0.191 342)
XYZxyz(33.1970, 19.8030, 36.2494)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA48A2 #48CA70
analogous
#B148CA #CA48A2 #CA4861
triadic
#CA48A2 #A2CA48 #48A2CA
tetradic
#CA48A2 #CAB148 #48CA70 #4861CA
square
#CA48A2 #CAB148 #48CA70 #4861CA
split-complementary
#CA48A2 #61CA48 #48CAB1
monochromatic
#76225C #A53081 #CA48A2 #D877BA #E5A7D2

Accessibility & contrast

On white

4.23
#CA48A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CA48A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA48A2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA48A2#FFFFFF#000000##000000
##CA48A21.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#526EA5
Deuteranopia (green-blind)
#79839F
Tritanopia (blue-blind)
#D6496E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca48a2;
/* rgb */ color: rgb(202, 72, 162);
/* oklch */ color: oklch(60.8% 0.191 342.0);
Tailwind
colors: {
  custom: {
    50: '#de83bd',
    500: '#ca48a2',
    950: '#000000',
  },
}
SCSS
$custom: #ca48a2;
$custom-light: #de83bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca48a2",
  "rgb": {
    "r": 202,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 318.462,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60793,
    "c": 0.19068,
    "h": 342
  },
  "luminance": 0.198
}

Semantic roles & 50–950 ramp

primary
#CA48A2
secondary
#9BD3AC
accent
#DE7749
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA48A2

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

Preview Lab → · Contrast checker → · Palette generator →

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