#CA406A#CA406A

#CA406A is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.0% C 0.176 H 6.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CA406A
RGBrgb(202, 64, 106)
HSLhsl(342, 57%, 52%)
HSVhsv(342, 68%, 79%)
CMYKcmyk(0%, 68.3%, 47.5%, 20.8%)
CIE-LABlab(48.60, 57.38, 7.06)
CIE-LCHlch(48.60, 57.81, 7.01°)
OKLaboklab(57.96% 0.175 0.0186)
OKLCHoklch(57.96% 0.176 6.1)
XYZxyz(28.7943, 17.2677, 15.4496)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA406A #40CAA0
analogous
#CA40AF #CA406A #CA5B40
triadic
#CA406A #6ACA40 #406ACA
tetradic
#CA406A #AFCA40 #40CAA0 #5B40CA
square
#CA406A #AFCA40 #40CAA0 #5B40CA
split-complementary
#CA406A #40CA5B #40AFCA
monochromatic
#701F38 #A02C50 #CA406A #D7708F #E5A0B5

Accessibility & contrast

On white

4.72
#CA406A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#CA406A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA406A
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA406A#FFFFFF#000000##FFFFFF
##CA406A1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F626B
Deuteranopia (green-blind)
#837D67
Tritanopia (blue-blind)
#DB2A51
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca406a;
/* rgb */ color: rgb(202, 64, 106);
/* oklch */ color: oklch(58.0% 0.176 6.1);
Tailwind
colors: {
  custom: {
    50: '#e07e94',
    500: '#ca406a',
    950: '#000000',
  },
}
SCSS
$custom: #ca406a;
$custom-light: #e07e94;
$custom-dark: #000000;
JSON
{
  "hex": "#ca406a",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 106
  },
  "hsl": {
    "h": 341.739,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57957,
    "c": 0.176,
    "h": 6.1
  },
  "luminance": 0.17264
}

Semantic roles & 50–950 ramp

primary
#CA406A
secondary
#95D1BF
accent
#E0B248
background
#FEF8F9
surface
#FDEFF1
border
#D5CACB
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CA406A

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

Preview Lab → · Contrast checker → · Palette generator →

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