#CA48A8#CA48A8

#CA48A8 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 61.1% C 0.195 H 339.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CA48A8
RGBrgb(202, 72, 168)
HSLhsl(316, 55%, 54%)
HSVhsv(316, 64%, 79%)
CMYKcmyk(0%, 64.4%, 16.8%, 20.8%)
CIE-LABlab(51.86, 61.53, -25.19)
CIE-LCHlch(51.86, 66.49, 337.74°)
OKLaboklab(61.06% 0.1824 -0.0679)
OKLCHoklch(61.06% 0.195 339.6)
XYZxyz(33.7431, 20.0215, 39.1256)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA48A8 #48CA6A
analogous
#AB48CA #CA48A8 #CA4867
triadic
#CA48A8 #A8CA48 #48A8CA
tetradic
#CA48A8 #CAAB48 #48CA6A #4867CA
square
#CA48A8 #CAAB48 #48CA6A #4867CA
split-complementary
#CA48A8 #67CA48 #48CAAB
monochromatic
#762260 #A53086 #CA48A8 #D877BF #E5A7D5

Accessibility & contrast

On white

4.20
#CA48A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CA48A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA48A8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA48A8#FFFFFF#000000##000000
##CA48A81.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6EAB
Deuteranopia (green-blind)
#7783A5
Tritanopia (blue-blind)
#D54C71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca48a8;
/* rgb */ color: rgb(202, 72, 168);
/* oklch */ color: oklch(61.1% 0.195 339.6);
Tailwind
colors: {
  custom: {
    50: '#de84c2',
    500: '#ca48a8',
    950: '#000000',
  },
}
SCSS
$custom: #ca48a8;
$custom-light: #de84c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca48a8",
  "rgb": {
    "r": 202,
    "g": 72,
    "b": 168
  },
  "hsl": {
    "h": 315.692,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61056,
    "c": 0.19466,
    "h": 339.6
  },
  "luminance": 0.20018
}

Semantic roles & 50–950 ramp

primary
#CA48A8
secondary
#9BD3AA
accent
#DE7049
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA48A8

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

Preview Lab → · Contrast checker → · Palette generator →

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