#CA15A2#CA15A2

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

Color values

HEX#CA15A2
RGBrgb(202, 21, 162)
HSLhsl(313, 81%, 44%)
HSVhsv(313, 90%, 79%)
CMYKcmyk(0%, 89.6%, 19.8%, 20.8%)
CIE-LABlab(46.58, 74.96, -29.83)
CIE-LCHlch(46.58, 80.68, 338.30°)
OKLaboklab(57.15% 0.2248 -0.0807)
OKLCHoklch(57.15% 0.239 340.2)
XYZxyz(31.1479, 15.7049, 35.5664)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA15A2 #15CA3D
analogous
#9715CA #CA15A2 #CA1547
triadic
#CA15A2 #A2CA15 #15A2CA
tetradic
#CA15A2 #CA9715 #15CA3D #1547CA
square
#CA15A2 #CA9715 #15CA3D #1547CA
split-complementary
#CA15A2 #47CA15 #15CA97
monochromatic
#5B0949 #930F76 #CA15A2 #EA32C1 #EF6AD2

Accessibility & contrast

On white

5.07
#CA15A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#CA15A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA15A2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA15A2#FFFFFF#000000##FFFFFF
##CA15A21.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5DA5
Deuteranopia (green-blind)
#69789E
Tritanopia (blue-blind)
#D71F60
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ca15a2;
/* rgb */ color: rgb(202, 21, 162);
/* oklch */ color: oklch(57.2% 0.239 340.2);
Tailwind
colors: {
  custom: {
    50: '#df71be',
    500: '#ca15a2',
    950: '#000000',
  },
}
SCSS
$custom: #ca15a2;
$custom-light: #df71be;
$custom-dark: #000000;
JSON
{
  "hex": "#ca15a2",
  "rgb": {
    "r": 202,
    "g": 21,
    "b": 162
  },
  "hsl": {
    "h": 313.26,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57152,
    "c": 0.23884,
    "h": 340.2
  },
  "luminance": 0.15702
}

Semantic roles & 50–950 ramp

primary
#CA15A2
secondary
#66D57E
accent
#F85C30
background
#FEF7FB
surface
#FDEDF6
border
#D5C8D0
text
#160912
muted
#847B81

Preview Lab

Preview with #CA15A2

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

Preview Lab → · Contrast checker → · Palette generator →

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