#CA15A7#CA15A7

#CA15A7 is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 57.4% C 0.242 H 338.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CA15A7
RGBrgb(202, 21, 167)
HSLhsl(312, 81%, 44%)
HSVhsv(312, 90%, 79%)
CMYKcmyk(0%, 89.6%, 17.3%, 20.8%)
CIE-LABlab(46.82, 75.59, -32.44)
CIE-LCHlch(46.82, 82.25, 336.78°)
OKLaboklab(57.4% 0.2252 -0.0882)
OKLCHoklch(57.4% 0.242 338.6)
XYZxyz(31.6012, 15.8862, 37.9538)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA15A7 #15CA38
analogous
#9215CA #CA15A7 #CA154C
triadic
#CA15A7 #A7CA15 #15A7CA
tetradic
#CA15A7 #CA9215 #15CA38 #154CCA
square
#CA15A7 #CA9215 #15CA38 #154CCA
split-complementary
#CA15A7 #4CCA15 #15CA92
monochromatic
#5B094B #930F79 #CA15A7 #EA32C6 #EF6AD6

Accessibility & contrast

On white

5.03
#CA15A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#CA15A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA15A7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA15A7#FFFFFF#000000##FFFFFF
##CA15A71.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255EAA
Deuteranopia (green-blind)
#6778A3
Tritanopia (blue-blind)
#D62463
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ca15a7;
/* rgb */ color: rgb(202, 21, 167);
/* oklch */ color: oklch(57.4% 0.242 338.6);
Tailwind
colors: {
  custom: {
    50: '#df71c1',
    500: '#ca15a7',
    950: '#000000',
  },
}
SCSS
$custom: #ca15a7;
$custom-light: #df71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca15a7",
  "rgb": {
    "r": 202,
    "g": 21,
    "b": 167
  },
  "hsl": {
    "h": 311.602,
    "s": 81.166,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57401,
    "c": 0.2418,
    "h": 338.6
  },
  "luminance": 0.15883
}

Semantic roles & 50–950 ramp

primary
#CA15A7
secondary
#66D57B
accent
#F85730
background
#FEF7FB
surface
#FDEDF7
border
#D5C8D0
text
#160912
muted
#847B81

Preview Lab

Preview with #CA15A7

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

Preview Lab → · Contrast checker → · Palette generator →

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