#CA15A3#CA15A3

#CA15A3 is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 57.2% C 0.239 H 339.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CA15A3
RGBrgb(202, 21, 163)
HSLhsl(313, 81%, 44%)
HSVhsv(313, 90%, 79%)
CMYKcmyk(0%, 89.6%, 19.3%, 20.8%)
CIE-LABlab(46.63, 75.08, -30.36)
CIE-LCHlch(46.63, 80.99, 337.99°)
OKLaboklab(57.2% 0.2249 -0.0822)
OKLCHoklch(57.2% 0.239 339.9)
XYZxyz(31.2372, 15.7406, 36.0364)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA15A3 #15CA3C
analogous
#9615CA #CA15A3 #CA1548
triadic
#CA15A3 #A3CA15 #15A3CA
tetradic
#CA15A3 #CA9615 #15CA3C #1548CA
square
#CA15A3 #CA9615 #15CA3C #1548CA
split-complementary
#CA15A3 #48CA15 #15CA96
monochromatic
#5B094A #930F76 #CA15A3 #EA32C2 #EF6AD3

Accessibility & contrast

On white

5.06
#CA15A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#CA15A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA15A3
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA15A3#FFFFFF#000000##FFFFFF
##CA15A31.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA6
Deuteranopia (green-blind)
#69789F
Tritanopia (blue-blind)
#D62061
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ca15a3;
/* rgb */ color: rgb(202, 21, 163);
/* oklch */ color: oklch(57.2% 0.239 339.9);
Tailwind
colors: {
  custom: {
    50: '#df71be',
    500: '#ca15a3',
    950: '#000000',
  },
}
SCSS
$custom: #ca15a3;
$custom-light: #df71be;
$custom-dark: #000000;
JSON
{
  "hex": "#ca15a3",
  "rgb": {
    "r": 202,
    "g": 21,
    "b": 163
  },
  "hsl": {
    "h": 312.928,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57201,
    "c": 0.23943,
    "h": 339.9
  },
  "luminance": 0.15737
}

Semantic roles & 50–950 ramp

primary
#CA15A3
secondary
#66D57E
accent
#F85B30
background
#FEF7FB
surface
#FDEDF7
border
#D5C8D0
text
#160912
muted
#847B81

Preview Lab

Preview with #CA15A3

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

Preview Lab → · Contrast checker → · Palette generator →

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