#CA15AB#CA15AB

#CA15AB is a mid, highly saturated pink. Relative luminance 0.160; OKLCH L 57.6% C 0.244 H 337.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CA15AB
RGBrgb(202, 21, 171)
HSLhsl(310, 81%, 44%)
HSVhsv(310, 90%, 79%)
CMYKcmyk(0%, 89.6%, 15.3%, 20.8%)
CIE-LABlab(47.02, 76.10, -34.50)
CIE-LCHlch(47.02, 83.56, 335.61°)
OKLaboklab(57.61% 0.2254 -0.0941)
OKLCHoklch(57.61% 0.244 337.3)
XYZxyz(31.9767, 16.0364, 39.9315)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA15AB #15CA34
analogous
#8E15CA #CA15AB #CA1550
triadic
#CA15AB #ABCA15 #15ABCA
tetradic
#CA15AB #CA8E15 #15CA34 #1550CA
square
#CA15AB #CA8E15 #15CA34 #1550CA
split-complementary
#CA15AB #50CA15 #15CA8E
monochromatic
#5B094D #930F7C #CA15AB #EA32CA #EF6AD9

Accessibility & contrast

On white

4.99
#CA15AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#CA15AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA15AB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA15AB#FFFFFF#000000##FFFFFF
##CA15AB1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205FAE
Deuteranopia (green-blind)
#6579A7
Tritanopia (blue-blind)
#D52866
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca15ab;
/* rgb */ color: rgb(202, 21, 171);
/* oklch */ color: oklch(57.6% 0.244 337.3);
Tailwind
colors: {
  custom: {
    50: '#df71c4',
    500: '#ca15ab',
    950: '#000000',
  },
}
SCSS
$custom: #ca15ab;
$custom-light: #df71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca15ab",
  "rgb": {
    "r": 202,
    "g": 21,
    "b": 171
  },
  "hsl": {
    "h": 310.276,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57606,
    "c": 0.24423,
    "h": 337.3
  },
  "luminance": 0.16033
}

Semantic roles & 50–950 ramp

primary
#CA15AB
secondary
#66D579
accent
#F85230
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160913
muted
#847B82

Preview Lab

Preview with #CA15AB

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

Preview Lab → · Contrast checker → · Palette generator →

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