#CA407A#CA407A

#CA407A is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.4% C 0.181 H 358.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CA407A
RGBrgb(202, 64, 122)
HSLhsl(335, 57%, 52%)
HSVhsv(335, 68%, 79%)
CMYKcmyk(0%, 68.3%, 39.6%, 20.8%)
CIE-LABlab(49.05, 58.94, -2.01)
CIE-LCHlch(49.05, 58.97, 358.05°)
OKLaboklab(58.44% 0.1806 -0.0045)
OKLCHoklch(58.44% 0.181 358.6)
XYZxyz(29.7054, 17.6321, 20.2476)
Luminance0.1763 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA407A #40CA90
analogous
#CA40BF #CA407A #CA4B40
triadic
#CA407A #7ACA40 #407ACA
tetradic
#CA407A #BFCA40 #40CA90 #4B40CA
square
#CA407A #BFCA40 #40CA90 #4B40CA
split-complementary
#CA407A #40CA4B #40BFCA
monochromatic
#701F41 #A02C5D #CA407A #D7709B #E5A0BD

Accessibility & contrast

On white

4.64
#CA407A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#CA407A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CA407A
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA407A#FFFFFF#000000##FFFFFF
##CA407A1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B647C
Deuteranopia (green-blind)
#807E77
Tritanopia (blue-blind)
#DA3158
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ca407a;
/* rgb */ color: rgb(202, 64, 122);
/* oklch */ color: oklch(58.4% 0.181 358.6);
Tailwind
colors: {
  custom: {
    50: '#df7ea0',
    500: '#ca407a',
    950: '#000000',
  },
}
SCSS
$custom: #ca407a;
$custom-light: #df7ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca407a",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 334.783,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58439,
    "c": 0.18062,
    "h": 358.6
  },
  "luminance": 0.17628
}

Semantic roles & 50–950 ramp

primary
#CA407A
secondary
#95D1B8
accent
#E0A048
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CA407A

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

Preview Lab → · Contrast checker → · Palette generator →

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