#CA15A5#CA15A5

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

Color values

HEX#CA15A5
RGBrgb(202, 21, 165)
HSLhsl(312, 81%, 44%)
HSVhsv(312, 90%, 79%)
CMYKcmyk(0%, 89.6%, 18.3%, 20.8%)
CIE-LABlab(46.73, 75.33, -31.40)
CIE-LCHlch(46.73, 81.62, 337.37°)
OKLaboklab(57.3% 0.225 -0.0852)
OKLCHoklch(57.3% 0.241 339.3)
XYZxyz(31.4178, 15.8128, 36.9876)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA15A5 #15CA3A
analogous
#9415CA #CA15A5 #CA154A
triadic
#CA15A5 #A5CA15 #15A5CA
tetradic
#CA15A5 #CA9415 #15CA3A #154ACA
square
#CA15A5 #CA9415 #15CA3A #154ACA
split-complementary
#CA15A5 #4ACA15 #15CA94
monochromatic
#5B094A #930F78 #CA15A5 #EA32C4 #EF6AD4

Accessibility & contrast

On white

5.05
#CA15A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#CA15A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA15A5
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA15A5#FFFFFF#000000##FFFFFF
##CA15A51.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285EA8
Deuteranopia (green-blind)
#6878A1
Tritanopia (blue-blind)
#D62262
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca15a5;
/* rgb */ color: rgb(202, 21, 165);
/* oklch */ color: oklch(57.3% 0.241 339.3);
Tailwind
colors: {
  custom: {
    50: '#df71c0',
    500: '#ca15a5',
    950: '#000000',
  },
}
SCSS
$custom: #ca15a5;
$custom-light: #df71c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca15a5",
  "rgb": {
    "r": 202,
    "g": 21,
    "b": 165
  },
  "hsl": {
    "h": 312.265,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.573,
    "c": 0.24061,
    "h": 339.3
  },
  "luminance": 0.15809
}

Semantic roles & 50–950 ramp

primary
#CA15A5
secondary
#66D57D
accent
#F85930
background
#FEF7FB
surface
#FDEDF7
border
#D5C8D0
text
#160912
muted
#847B81

Preview Lab

Preview with #CA15A5

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

Preview Lab → · Contrast checker → · Palette generator →

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