#CA40A1#CA40A1

#CA40A1 is a mid, highly saturated pink. Relative luminance 0.188; OKLCH L 59.9% C 0.200 H 341.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CA40A1
RGBrgb(202, 64, 161)
HSLhsl(318, 57%, 52%)
HSVhsv(318, 68%, 79%)
CMYKcmyk(0%, 68.3%, 20.3%, 20.8%)
CIE-LABlab(50.45, 63.65, -23.24)
CIE-LCHlch(50.45, 67.76, 339.94°)
OKLaboklab(59.93% 0.1906 -0.0623)
OKLCHoklch(59.93% 0.2 341.9)
XYZxyz(32.6245, 18.7997, 35.6218)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA40A1 #40CA69
analogous
#AE40CA #CA40A1 #CA405C
triadic
#CA40A1 #A1CA40 #40A1CA
tetradic
#CA40A1 #CAAE40 #40CA69 #405CCA
square
#CA40A1 #CAAE40 #40CA69 #405CCA
split-complementary
#CA40A1 #5CCA40 #40CAAE
monochromatic
#701F58 #A02C7E #CA40A1 #D770B9 #E5A0D0

Accessibility & contrast

On white

4.41
#CA40A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CA40A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA40A1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA40A1#FFFFFF#000000##000000
##CA40A11.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6AA4
Deuteranopia (green-blind)
#76809E
Tritanopia (blue-blind)
#D6426B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca40a1;
/* rgb */ color: rgb(202, 64, 161);
/* oklch */ color: oklch(59.9% 0.200 341.9);
Tailwind
colors: {
  custom: {
    50: '#de7fbd',
    500: '#ca40a1',
    950: '#000000',
  },
}
SCSS
$custom: #ca40a1;
$custom-light: #de7fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca40a1",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 161
  },
  "hsl": {
    "h": 317.826,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59931,
    "c": 0.20049,
    "h": 341.9
  },
  "luminance": 0.18797
}

Semantic roles & 50–950 ramp

primary
#CA40A1
secondary
#95D1A7
accent
#E07548
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA40A1

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

Preview Lab → · Contrast checker → · Palette generator →

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