#CA40A5#CA40A5

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

Color values

HEX#CA40A5
RGBrgb(202, 64, 165)
HSLhsl(316, 57%, 52%)
HSVhsv(316, 68%, 79%)
CMYKcmyk(0%, 68.3%, 18.3%, 20.8%)
CIE-LABlab(50.62, 64.20, -25.34)
CIE-LCHlch(50.62, 69.02, 338.46°)
OKLaboklab(60.11% 0.1913 -0.0683)
OKLCHoklch(60.11% 0.203 340.4)
XYZxyz(32.9829, 18.9431, 37.5093)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA40A5 #40CA65
analogous
#AA40CA #CA40A5 #CA4060
triadic
#CA40A5 #A5CA40 #40A5CA
tetradic
#CA40A5 #CAAA40 #40CA65 #4060CA
square
#CA40A5 #CAAA40 #40CA65 #4060CA
split-complementary
#CA40A5 #60CA40 #40CAAA
monochromatic
#701F5B #A02C81 #CA40A5 #D770BC #E5A0D2

Accessibility & contrast

On white

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

On black

4.79
#CA40A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA40A5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA40A5#FFFFFF#000000##000000
##CA40A51.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#496AA8
Deuteranopia (green-blind)
#7481A2
Tritanopia (blue-blind)
#D6436D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca40a5;
/* rgb */ color: rgb(202, 64, 165);
/* oklch */ color: oklch(60.1% 0.203 340.4);
Tailwind
colors: {
  custom: {
    50: '#de7fc0',
    500: '#ca40a5',
    950: '#000000',
  },
}
SCSS
$custom: #ca40a5;
$custom-light: #de7fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca40a5",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 165
  },
  "hsl": {
    "h": 316.087,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60108,
    "c": 0.20307,
    "h": 340.4
  },
  "luminance": 0.1894
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA40A5

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

Preview Lab → · Contrast checker → · Palette generator →

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