#CA15A0#CA15A0

#CA15A0 is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 57.1% C 0.238 H 340.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CA15A0
RGBrgb(202, 21, 160)
HSLhsl(314, 81%, 44%)
HSVhsv(314, 90%, 79%)
CMYKcmyk(0%, 89.6%, 20.8%, 20.8%)
CIE-LABlab(46.49, 74.71, -28.79)
CIE-LCHlch(46.49, 80.06, 338.93°)
OKLaboklab(57.05% 0.2246 -0.0778)
OKLCHoklch(57.05% 0.238 340.9)
XYZxyz(30.9716, 15.6343, 34.6376)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA15A0 #15CA3F
analogous
#9915CA #CA15A0 #CA1545
triadic
#CA15A0 #A0CA15 #15A0CA
tetradic
#CA15A0 #CA9915 #15CA3F #1545CA
square
#CA15A0 #CA9915 #15CA3F #1545CA
split-complementary
#CA15A0 #45CA15 #15CA99
monochromatic
#5B0948 #930F74 #CA15A0 #EA32BF #EF6AD0

Accessibility & contrast

On white

5.09
#CA15A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#CA15A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA15A0
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA15A0#FFFFFF#000000##FFFFFF
##CA15A01.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5DA3
Deuteranopia (green-blind)
#6A789C
Tritanopia (blue-blind)
#D71D5F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ca15a0;
/* rgb */ color: rgb(202, 21, 160);
/* oklch */ color: oklch(57.1% 0.238 340.9);
Tailwind
colors: {
  custom: {
    50: '#df71bc',
    500: '#ca15a0',
    950: '#000000',
  },
}
SCSS
$custom: #ca15a0;
$custom-light: #df71bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca15a0",
  "rgb": {
    "r": 202,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 313.923,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57054,
    "c": 0.23768,
    "h": 340.9
  },
  "luminance": 0.15631
}

Semantic roles & 50–950 ramp

primary
#CA15A0
secondary
#66D580
accent
#F85E30
background
#FEF7FB
surface
#FDEDF6
border
#D5C8D0
text
#160912
muted
#847B81

Preview Lab

Preview with #CA15A0

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

Preview Lab → · Contrast checker → · Palette generator →

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