#CA407C#CA407C

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

Color values

HEX#CA407C
RGBrgb(202, 64, 124)
HSLhsl(334, 57%, 52%)
HSVhsv(334, 68%, 79%)
CMYKcmyk(0%, 68.3%, 38.6%, 20.8%)
CIE-LABlab(49.11, 59.15, -3.13)
CIE-LCHlch(49.11, 59.23, 356.97°)
OKLaboklab(58.5% 0.1812 -0.0075)
OKLCHoklch(58.5% 0.181 357.6)
XYZxyz(29.8306, 17.6821, 20.9070)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA407C #40CA8E
analogous
#CA40C1 #CA407C #CA4940
triadic
#CA407C #7CCA40 #407CCA
tetradic
#CA407C #C1CA40 #40CA8E #4940CA
square
#CA407C #C1CA40 #40CA8E #4940CA
split-complementary
#CA407C #40CA49 #40C1CA
monochromatic
#701F43 #A02C5F #CA407C #D7709D #E5A0BE

Accessibility & contrast

On white

4.63
#CA407C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CA407C
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA407C#FFFFFF#000000##FFFFFF
##CA407C1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A647E
Deuteranopia (green-blind)
#807E79
Tritanopia (blue-blind)
#DA3159
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ca407c;
/* rgb */ color: rgb(202, 64, 124);
/* oklch */ color: oklch(58.5% 0.181 357.6);
Tailwind
colors: {
  custom: {
    50: '#df7ea1',
    500: '#ca407c',
    950: '#000000',
  },
}
SCSS
$custom: #ca407c;
$custom-light: #df7ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca407c",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 333.913,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58504,
    "c": 0.18135,
    "h": 357.6
  },
  "luminance": 0.17679
}

Semantic roles & 50–950 ramp

primary
#CA407C
secondary
#95D1B7
accent
#E09E48
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CA407C

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

Preview Lab → · Contrast checker → · Palette generator →

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