#CA15A6#CA15A6

#CA15A6 is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 57.4% C 0.241 H 338.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CA15A6
RGBrgb(202, 21, 166)
HSLhsl(312, 81%, 44%)
HSVhsv(312, 90%, 79%)
CMYKcmyk(0%, 89.6%, 17.8%, 20.8%)
CIE-LABlab(46.78, 75.46, -31.92)
CIE-LCHlch(46.78, 81.93, 337.07°)
OKLaboklab(57.35% 0.2251 -0.0867)
OKLCHoklch(57.35% 0.241 338.9)
XYZxyz(31.5092, 15.8494, 37.4688)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA15A6 #15CA39
analogous
#9315CA #CA15A6 #CA154B
triadic
#CA15A6 #A6CA15 #15A6CA
tetradic
#CA15A6 #CA9315 #15CA39 #154BCA
square
#CA15A6 #CA9315 #15CA39 #154BCA
split-complementary
#CA15A6 #4BCA15 #15CA93
monochromatic
#5B094B #930F78 #CA15A6 #EA32C5 #EF6AD5

Accessibility & contrast

On white

5.04
#CA15A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#CA15A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA15A6
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA15A6#FFFFFF#000000##FFFFFF
##CA15A61.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265EA9
Deuteranopia (green-blind)
#6778A2
Tritanopia (blue-blind)
#D62363
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca15a6;
/* rgb */ color: rgb(202, 21, 166);
/* oklch */ color: oklch(57.4% 0.241 338.9);
Tailwind
colors: {
  custom: {
    50: '#df71c1',
    500: '#ca15a6',
    950: '#000000',
  },
}
SCSS
$custom: #ca15a6;
$custom-light: #df71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca15a6",
  "rgb": {
    "r": 202,
    "g": 21,
    "b": 166
  },
  "hsl": {
    "h": 311.934,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57351,
    "c": 0.2412,
    "h": 338.9
  },
  "luminance": 0.15846
}

Semantic roles & 50–950 ramp

primary
#CA15A6
secondary
#66D57C
accent
#F85830
background
#FEF7FB
surface
#FDEDF7
border
#D5C8D0
text
#160912
muted
#847B81

Preview Lab

Preview with #CA15A6

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

Preview Lab → · Contrast checker → · Palette generator →

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