#CA417D#CA417D

#CA417D is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.6% C 0.180 H 357.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CA417D
RGBrgb(202, 65, 125)
HSLhsl(334, 56%, 52%)
HSVhsv(334, 68%, 79%)
CMYKcmyk(0%, 67.8%, 38.1%, 20.8%)
CIE-LABlab(49.28, 58.87, -3.48)
CIE-LCHlch(49.28, 58.98, 356.62°)
OKLaboklab(58.64% 0.1803 -0.0084)
OKLCHoklch(58.64% 0.181 357.3)
XYZxyz(29.9510, 17.8214, 21.2607)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA417D #41CA8E
analogous
#CA41C1 #CA417D #CA4A41
triadic
#CA417D #7DCA41 #417DCA
tetradic
#CA417D #C1CA41 #41CA8E #4A41CA
square
#CA417D #C1CA41 #41CA8E #4A41CA
split-complementary
#CA417D #41CA4A #41C1CA
monochromatic
#712043 #A12D60 #CA417D #D7719E #E5A1BE

Accessibility & contrast

On white

4.60
#CA417D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#CA417D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CA417D
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA417D#FFFFFF#000000##FFFFFF
##CA417D1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B657F
Deuteranopia (green-blind)
#807F7A
Tritanopia (blue-blind)
#DA335A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ca417d;
/* rgb */ color: rgb(202, 65, 125);
/* oklch */ color: oklch(58.6% 0.180 357.3);
Tailwind
colors: {
  custom: {
    50: '#df7fa2',
    500: '#ca417d',
    950: '#000000',
  },
}
SCSS
$custom: #ca417d;
$custom-light: #df7fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca417d",
  "rgb": {
    "r": 202,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 333.723,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5864,
    "c": 0.1805,
    "h": 357.3
  },
  "luminance": 0.17818
}

Semantic roles & 50–950 ramp

primary
#CA417D
secondary
#96D1B7
accent
#E09D48
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CA417D

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

Preview Lab → · Contrast checker → · Palette generator →

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