#CA407D#CA407D

#CA407D is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.5% C 0.182 H 357.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CA407D
RGBrgb(202, 64, 125)
HSLhsl(333, 57%, 52%)
HSVhsv(333, 68%, 79%)
CMYKcmyk(0%, 68.3%, 38.1%, 20.8%)
CIE-LABlab(49.14, 59.26, -3.69)
CIE-LCHlch(49.14, 59.37, 356.44°)
OKLaboklab(58.54% 0.1815 -0.0089)
OKLCHoklch(58.54% 0.182 357.2)
XYZxyz(29.8941, 17.7076, 21.2417)
Luminance0.1770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA407D #40CA8D
analogous
#CA40C2 #CA407D #CA4840
triadic
#CA407D #7DCA40 #407DCA
tetradic
#CA407D #C2CA40 #40CA8D #4840CA
square
#CA407D #C2CA40 #40CA8D #4840CA
split-complementary
#CA407D #40CA48 #40C2CA
monochromatic
#701F43 #A02C60 #CA407D #D7709E #E5A0BE

Accessibility & contrast

On white

4.62
#CA407D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#CA407D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CA407D
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA407D#FFFFFF#000000##FFFFFF
##CA407D1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A647F
Deuteranopia (green-blind)
#807E7A
Tritanopia (blue-blind)
#DA3259
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ca407d;
/* rgb */ color: rgb(202, 64, 125);
/* oklch */ color: oklch(58.5% 0.182 357.2);
Tailwind
colors: {
  custom: {
    50: '#df7ea2',
    500: '#ca407d',
    950: '#000000',
  },
}
SCSS
$custom: #ca407d;
$custom-light: #df7ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca407d",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 333.478,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58538,
    "c": 0.18174,
    "h": 357.2
  },
  "luminance": 0.17704
}

Semantic roles & 50–950 ramp

primary
#CA407D
secondary
#95D1B6
accent
#E09D48
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CA407D

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

Preview Lab → · Contrast checker → · Palette generator →

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