#CA48AA#CA48AA

#CA48AA is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.1% C 0.196 H 338.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CA48AA
RGBrgb(202, 72, 170)
HSLhsl(315, 55%, 54%)
HSVhsv(315, 64%, 79%)
CMYKcmyk(0%, 64.4%, 15.8%, 20.8%)
CIE-LABlab(51.95, 61.82, -26.23)
CIE-LCHlch(51.95, 67.16, 337.01°)
OKLaboklab(61.15% 0.1828 -0.0708)
OKLCHoklch(61.15% 0.196 338.8)
XYZxyz(33.9308, 20.0966, 40.1144)
Luminance0.2009 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA48AA #48CA68
analogous
#A948CA #CA48AA #CA4869
triadic
#CA48AA #AACA48 #48AACA
tetradic
#CA48AA #CAA948 #48CA68 #4869CA
square
#CA48AA #CAA948 #48CA68 #4869CA
split-complementary
#CA48AA #69CA48 #48CAA9
monochromatic
#762261 #A53088 #CA48AA #D877C0 #E5A7D6

Accessibility & contrast

On white

4.18
#CA48AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CA48AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA48AA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA48AA#FFFFFF#000000##000000
##CA48AA1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAD
Deuteranopia (green-blind)
#7683A7
Tritanopia (blue-blind)
#D54D72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca48aa;
/* rgb */ color: rgb(202, 72, 170);
/* oklch */ color: oklch(61.1% 0.196 338.8);
Tailwind
colors: {
  custom: {
    50: '#dd84c3',
    500: '#ca48aa',
    950: '#000000',
  },
}
SCSS
$custom: #ca48aa;
$custom-light: #dd84c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca48aa",
  "rgb": {
    "r": 202,
    "g": 72,
    "b": 170
  },
  "hsl": {
    "h": 314.769,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61146,
    "c": 0.19603,
    "h": 338.8
  },
  "luminance": 0.20094
}

Semantic roles & 50–950 ramp

primary
#CA48AA
secondary
#9BD3A9
accent
#DE6E49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA48AA

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

Preview Lab → · Contrast checker → · Palette generator →

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