#CA40A4#CA40A4

#CA40A4 is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.1% C 0.202 H 340.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CA40A4
RGBrgb(202, 64, 164)
HSLhsl(317, 57%, 52%)
HSVhsv(317, 68%, 79%)
CMYKcmyk(0%, 68.3%, 18.8%, 20.8%)
CIE-LABlab(50.58, 64.06, -24.82)
CIE-LCHlch(50.58, 68.70, 338.83°)
OKLaboklab(60.06% 0.1911 -0.0668)
OKLCHoklch(60.06% 0.202 340.7)
XYZxyz(32.8922, 18.9068, 37.0319)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA40A4 #40CA66
analogous
#AB40CA #CA40A4 #CA405F
triadic
#CA40A4 #A4CA40 #40A4CA
tetradic
#CA40A4 #CAAB40 #40CA66 #405FCA
square
#CA40A4 #CAAB40 #40CA66 #405FCA
split-complementary
#CA40A4 #5FCA40 #40CAAB
monochromatic
#701F5A #A02C80 #CA40A4 #D770BB #E5A0D2

Accessibility & contrast

On white

4.39
#CA40A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#CA40A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA40A4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA40A4#FFFFFF#000000##000000
##CA40A41.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6AA7
Deuteranopia (green-blind)
#7580A1
Tritanopia (blue-blind)
#D6436C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca40a4;
/* rgb */ color: rgb(202, 64, 164);
/* oklch */ color: oklch(60.1% 0.202 340.7);
Tailwind
colors: {
  custom: {
    50: '#de7fbf',
    500: '#ca40a4',
    950: '#000000',
  },
}
SCSS
$custom: #ca40a4;
$custom-light: #de7fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca40a4",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 164
  },
  "hsl": {
    "h": 316.522,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60064,
    "c": 0.20241,
    "h": 340.7
  },
  "luminance": 0.18904
}

Semantic roles & 50–950 ramp

primary
#CA40A4
secondary
#95D1A5
accent
#E07248
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA40A4

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

Preview Lab → · Contrast checker → · Palette generator →

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