#CA417A#CA417A

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

Color values

HEX#CA417A
RGBrgb(202, 65, 122)
HSLhsl(335, 56%, 52%)
HSVhsv(335, 68%, 79%)
CMYKcmyk(0%, 67.8%, 39.6%, 20.8%)
CIE-LABlab(49.19, 58.55, -1.80)
CIE-LCHlch(49.19, 58.58, 358.24°)
OKLaboklab(58.54% 0.1793 -0.004)
OKLCHoklch(58.54% 0.179 358.7)
XYZxyz(29.7623, 17.7459, 20.2666)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA417A #41CA91
analogous
#CA41BF #CA417A #CA4C41
triadic
#CA417A #7ACA41 #417ACA
tetradic
#CA417A #BFCA41 #41CA91 #4C41CA
square
#CA417A #BFCA41 #41CA91 #4C41CA
split-complementary
#CA417A #41CA4C #41BFCA
monochromatic
#712041 #A12D5D #CA417A #D7719B #E5A1BD

Accessibility & contrast

On white

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

On black

4.55
#CA417A on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CA417A#FFFFFF#000000##FFFFFF
##CA417A1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca417a;
/* rgb */ color: rgb(202, 65, 122);
/* oklch */ color: oklch(58.5% 0.179 358.7);
Tailwind
colors: {
  custom: {
    50: '#df7fa0',
    500: '#ca417a',
    950: '#000000',
  },
}
SCSS
$custom: #ca417a;
$custom-light: #df7fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca417a",
  "rgb": {
    "r": 202,
    "g": 65,
    "b": 122
  },
  "hsl": {
    "h": 335.036,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58542,
    "c": 0.17938,
    "h": 358.7
  },
  "luminance": 0.17742
}

Semantic roles & 50–950 ramp

primary
#CA417A
secondary
#96D1B8
accent
#E0A148
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CA417A

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

Preview Lab → · Contrast checker → · Palette generator →

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