#CA15A1#CA15A1

#CA15A1 is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 57.1% C 0.238 H 340.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CA15A1
RGBrgb(202, 21, 161)
HSLhsl(314, 81%, 44%)
HSVhsv(314, 90%, 79%)
CMYKcmyk(0%, 89.6%, 20.3%, 20.8%)
CIE-LABlab(46.54, 74.83, -29.31)
CIE-LCHlch(46.54, 80.37, 338.61°)
OKLaboklab(57.1% 0.2247 -0.0792)
OKLCHoklch(57.1% 0.238 340.6)
XYZxyz(31.0594, 15.6695, 35.1001)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA15A1 #15CA3E
analogous
#9815CA #CA15A1 #CA1546
triadic
#CA15A1 #A1CA15 #15A1CA
tetradic
#CA15A1 #CA9815 #15CA3E #1546CA
square
#CA15A1 #CA9815 #15CA3E #1546CA
split-complementary
#CA15A1 #46CA15 #15CA98
monochromatic
#5B0949 #930F75 #CA15A1 #EA32C0 #EF6AD1

Accessibility & contrast

On white

5.08
#CA15A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#CA15A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA15A1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA15A1#FFFFFF#000000##FFFFFF
##CA15A11.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5DA4
Deuteranopia (green-blind)
#69789D
Tritanopia (blue-blind)
#D71E60
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ca15a1;
/* rgb */ color: rgb(202, 21, 161);
/* oklch */ color: oklch(57.1% 0.238 340.6);
Tailwind
colors: {
  custom: {
    50: '#df71bd',
    500: '#ca15a1',
    950: '#000000',
  },
}
SCSS
$custom: #ca15a1;
$custom-light: #df71bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca15a1",
  "rgb": {
    "r": 202,
    "g": 21,
    "b": 161
  },
  "hsl": {
    "h": 313.591,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57103,
    "c": 0.23826,
    "h": 340.6
  },
  "luminance": 0.15666
}

Semantic roles & 50–950 ramp

primary
#CA15A1
secondary
#66D57F
accent
#F85D30
background
#FEF7FB
surface
#FDEDF6
border
#D5C8D0
text
#160912
muted
#847B81

Preview Lab

Preview with #CA15A1

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

Preview Lab → · Contrast checker → · Palette generator →

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