#CA40A3#CA40A3

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

Color values

HEX#CA40A3
RGBrgb(202, 64, 163)
HSLhsl(317, 57%, 52%)
HSVhsv(317, 68%, 79%)
CMYKcmyk(0%, 68.3%, 19.3%, 20.8%)
CIE-LABlab(50.54, 63.93, -24.29)
CIE-LCHlch(50.54, 68.39, 339.19°)
OKLaboklab(60.02% 0.1909 -0.0653)
OKLCHoklch(60.02% 0.202 341.1)
XYZxyz(32.8023, 18.8708, 36.5581)
Luminance0.1887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA40A3 #40CA67
analogous
#AC40CA #CA40A3 #CA405E
triadic
#CA40A3 #A3CA40 #40A3CA
tetradic
#CA40A3 #CAAC40 #40CA67 #405ECA
square
#CA40A3 #CAAC40 #40CA67 #405ECA
split-complementary
#CA40A3 #5ECA40 #40CAAC
monochromatic
#701F59 #A02C80 #CA40A3 #D770BA #E5A0D1

Accessibility & contrast

On white

4.40
#CA40A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#CA40A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA40A3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA40A3#FFFFFF#000000##000000
##CA40A31.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca40a3;
/* rgb */ color: rgb(202, 64, 163);
/* oklch */ color: oklch(60.0% 0.202 341.1);
Tailwind
colors: {
  custom: {
    50: '#de7fbe',
    500: '#ca40a3',
    950: '#000000',
  },
}
SCSS
$custom: #ca40a3;
$custom-light: #de7fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca40a3",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 163
  },
  "hsl": {
    "h": 316.957,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60019,
    "c": 0.20177,
    "h": 341.1
  },
  "luminance": 0.18868
}

Semantic roles & 50–950 ramp

primary
#CA40A3
secondary
#95D1A6
accent
#E07348
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA40A3

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

Preview Lab → · Contrast checker → · Palette generator →

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