#CA15AA#CA15AA

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

Color values

HEX#CA15AA
RGBrgb(202, 21, 170)
HSLhsl(311, 81%, 44%)
HSVhsv(311, 90%, 79%)
CMYKcmyk(0%, 89.6%, 15.8%, 20.8%)
CIE-LABlab(46.97, 75.97, -33.98)
CIE-LCHlch(46.97, 83.23, 335.90°)
OKLaboklab(57.55% 0.2253 -0.0926)
OKLCHoklch(57.55% 0.244 337.7)
XYZxyz(31.8818, 15.9984, 39.4314)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA15AA #15CA35
analogous
#8F15CA #CA15AA #CA154F
triadic
#CA15AA #AACA15 #15AACA
tetradic
#CA15AA #CA8F15 #15CA35 #154FCA
square
#CA15AA #CA8F15 #15CA35 #154FCA
split-complementary
#CA15AA #4FCA15 #15CA8F
monochromatic
#5B094D #930F7B #CA15AA #EA32C9 #EF6AD8

Accessibility & contrast

On white

5.00
#CA15AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#CA15AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA15AA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA15AA#FFFFFF#000000##FFFFFF
##CA15AA1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215FAD
Deuteranopia (green-blind)
#6679A6
Tritanopia (blue-blind)
#D62765
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca15aa;
/* rgb */ color: rgb(202, 21, 170);
/* oklch */ color: oklch(57.6% 0.244 337.7);
Tailwind
colors: {
  custom: {
    50: '#df71c3',
    500: '#ca15aa',
    950: '#000000',
  },
}
SCSS
$custom: #ca15aa;
$custom-light: #df71c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca15aa",
  "rgb": {
    "r": 202,
    "g": 21,
    "b": 170
  },
  "hsl": {
    "h": 310.608,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57554,
    "c": 0.24362,
    "h": 337.7
  },
  "luminance": 0.15995
}

Semantic roles & 50–950 ramp

primary
#CA15AA
secondary
#66D57A
accent
#F85330
background
#FEF7FC
surface
#FDEDF8
border
#D5C8D1
text
#160912
muted
#847B81

Preview Lab

Preview with #CA15AA

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

Preview Lab → · Contrast checker → · Palette generator →

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