#CA40A0#CA40A0

#CA40A0 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.9% C 0.200 H 342.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CA40A0
RGBrgb(202, 64, 160)
HSLhsl(318, 57%, 52%)
HSVhsv(318, 68%, 79%)
CMYKcmyk(0%, 68.3%, 20.8%, 20.8%)
CIE-LABlab(50.41, 63.52, -22.71)
CIE-LCHlch(50.41, 67.45, 340.33°)
OKLaboklab(59.89% 0.1904 -0.0609)
OKLCHoklch(59.89% 0.2 342.3)
XYZxyz(32.5367, 18.7646, 35.1593)
Luminance0.1876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA40A0 #40CA6A
analogous
#AF40CA #CA40A0 #CA405B
triadic
#CA40A0 #A0CA40 #40A0CA
tetradic
#CA40A0 #CAAF40 #40CA6A #405BCA
square
#CA40A0 #CAAF40 #40CA6A #405BCA
split-complementary
#CA40A0 #5BCA40 #40CAAF
monochromatic
#701F58 #A02C7D #CA40A0 #D770B8 #E5A0D0

Accessibility & contrast

On white

4.42
#CA40A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CA40A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA40A0
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA40A0#FFFFFF#000000##000000
##CA40A01.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6AA3
Deuteranopia (green-blind)
#76809D
Tritanopia (blue-blind)
#D6416A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca40a0;
/* rgb */ color: rgb(202, 64, 160);
/* oklch */ color: oklch(59.9% 0.200 342.3);
Tailwind
colors: {
  custom: {
    50: '#de7fbc',
    500: '#ca40a0',
    950: '#000000',
  },
}
SCSS
$custom: #ca40a0;
$custom-light: #de7fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca40a0",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 160
  },
  "hsl": {
    "h": 318.261,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59887,
    "c": 0.19986,
    "h": 342.3
  },
  "luminance": 0.18761
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA40A0

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

Preview Lab → · Contrast checker → · Palette generator →

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