#CA406C#CA406C

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

Color values

HEX#CA406C
RGBrgb(202, 64, 108)
HSLhsl(341, 57%, 52%)
HSVhsv(341, 68%, 79%)
CMYKcmyk(0%, 68.3%, 46.5%, 20.8%)
CIE-LABlab(48.65, 57.56, 5.91)
CIE-LCHlch(48.65, 57.87, 5.87°)
OKLaboklab(58.01% 0.1758 0.0157)
OKLCHoklch(58.01% 0.176 5.1)
XYZxyz(28.8996, 17.3097, 16.0037)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA406C #40CA9E
analogous
#CA40B1 #CA406C #CA5940
triadic
#CA406C #6CCA40 #406CCA
tetradic
#CA406C #B1CA40 #40CA9E #5940CA
square
#CA406C #B1CA40 #40CA9E #5940CA
split-complementary
#CA406C #40CA59 #40B1CA
monochromatic
#701F39 #A02C51 #CA406C #D77091 #E5A0B6

Accessibility & contrast

On white

4.71
#CA406C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#CA406C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA406C
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA406C#FFFFFF#000000##FFFFFF
##CA406C1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F626D
Deuteranopia (green-blind)
#837E69
Tritanopia (blue-blind)
#DB2A52
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ca406c;
/* rgb */ color: rgb(202, 64, 108);
/* oklch */ color: oklch(58.0% 0.176 5.1);
Tailwind
colors: {
  custom: {
    50: '#e07e95',
    500: '#ca406c',
    950: '#000000',
  },
}
SCSS
$custom: #ca406c;
$custom-light: #e07e95;
$custom-dark: #000000;
JSON
{
  "hex": "#ca406c",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 108
  },
  "hsl": {
    "h": 340.87,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58013,
    "c": 0.17645,
    "h": 5.1
  },
  "luminance": 0.17306
}

Semantic roles & 50–950 ramp

primary
#CA406C
secondary
#95D1BE
accent
#E0AF48
background
#FEF8F9
surface
#FDEFF1
border
#D5CACB
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CA406C

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

Preview Lab → · Contrast checker → · Palette generator →

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