#CA48A5#CA48A5

#CA48A5 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.9% C 0.193 H 340.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CA48A5
RGBrgb(202, 72, 165)
HSLhsl(317, 55%, 54%)
HSVhsv(317, 64%, 79%)
CMYKcmyk(0%, 64.4%, 18.3%, 20.8%)
CIE-LABlab(51.74, 61.10, -23.62)
CIE-LCHlch(51.74, 65.51, 338.87°)
OKLaboklab(60.92% 0.1819 -0.0635)
OKLCHoklch(60.92% 0.193 340.8)
XYZxyz(33.4668, 19.9110, 37.6706)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA48A5 #48CA6D
analogous
#AE48CA #CA48A5 #CA4864
triadic
#CA48A5 #A5CA48 #48A5CA
tetradic
#CA48A5 #CAAE48 #48CA6D #4864CA
square
#CA48A5 #CAAE48 #48CA6D #4864CA
split-complementary
#CA48A5 #64CA48 #48CAAE
monochromatic
#76225E #A53084 #CA48A5 #D877BC #E5A7D4

Accessibility & contrast

On white

4.22
#CA48A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CA48A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA48A5
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA48A5#FFFFFF#000000##000000
##CA48A51.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#506EA8
Deuteranopia (green-blind)
#7883A2
Tritanopia (blue-blind)
#D64B70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca48a5;
/* rgb */ color: rgb(202, 72, 165);
/* oklch */ color: oklch(60.9% 0.193 340.8);
Tailwind
colors: {
  custom: {
    50: '#de83c0',
    500: '#ca48a5',
    950: '#000000',
  },
}
SCSS
$custom: #ca48a5;
$custom-light: #de83c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca48a5",
  "rgb": {
    "r": 202,
    "g": 72,
    "b": 165
  },
  "hsl": {
    "h": 317.077,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60923,
    "c": 0.19265,
    "h": 340.8
  },
  "luminance": 0.19908
}

Semantic roles & 50–950 ramp

primary
#CA48A5
secondary
#9BD3AB
accent
#DE7449
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA48A5

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

Preview Lab → · Contrast checker → · Palette generator →

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