#CA15A8#CA15A8

#CA15A8 is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 57.5% C 0.242 H 338.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CA15A8
RGBrgb(202, 21, 168)
HSLhsl(311, 81%, 44%)
HSVhsv(311, 90%, 79%)
CMYKcmyk(0%, 89.6%, 16.8%, 20.8%)
CIE-LABlab(46.87, 75.72, -32.95)
CIE-LCHlch(46.87, 82.58, 336.48°)
OKLaboklab(57.45% 0.2252 -0.0896)
OKLCHoklch(57.45% 0.242 338.3)
XYZxyz(31.6940, 15.9233, 38.4426)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA15A8 #15CA37
analogous
#9115CA #CA15A8 #CA154D
triadic
#CA15A8 #A8CA15 #15A8CA
tetradic
#CA15A8 #CA9115 #15CA37 #154DCA
square
#CA15A8 #CA9115 #15CA37 #154DCA
split-complementary
#CA15A8 #4DCA15 #15CA91
monochromatic
#5B094C #930F7A #CA15A8 #EA32C7 #EF6AD6

Accessibility & contrast

On white

5.02
#CA15A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#CA15A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA15A8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA15A8#FFFFFF#000000##FFFFFF
##CA15A81.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245EAB
Deuteranopia (green-blind)
#6678A4
Tritanopia (blue-blind)
#D62564
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca15a8;
/* rgb */ color: rgb(202, 21, 168);
/* oklch */ color: oklch(57.5% 0.242 338.3);
Tailwind
colors: {
  custom: {
    50: '#df71c2',
    500: '#ca15a8',
    950: '#000000',
  },
}
SCSS
$custom: #ca15a8;
$custom-light: #df71c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca15a8",
  "rgb": {
    "r": 202,
    "g": 21,
    "b": 168
  },
  "hsl": {
    "h": 311.271,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57452,
    "c": 0.2424,
    "h": 338.3
  },
  "luminance": 0.1592
}

Semantic roles & 50–950 ramp

primary
#CA15A8
secondary
#66D57B
accent
#F85630
background
#FEF7FB
surface
#FDEDF7
border
#D5C8D0
text
#160912
muted
#847B81

Preview Lab

Preview with #CA15A8

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

Preview Lab → · Contrast checker → · Palette generator →

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