#CA417C#CA417C

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

Color values

HEX#CA417C
RGBrgb(202, 65, 124)
HSLhsl(334, 56%, 52%)
HSVhsv(334, 68%, 79%)
CMYKcmyk(0%, 67.8%, 38.6%, 20.8%)
CIE-LABlab(49.25, 58.77, -2.92)
CIE-LCHlch(49.25, 58.84, 357.15°)
OKLaboklab(58.61% 0.18 -0.0069)
OKLCHoklch(58.61% 0.18 357.8)
XYZxyz(29.8875, 17.7959, 20.9259)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA417C #41CA8F
analogous
#CA41C0 #CA417C #CA4B41
triadic
#CA417C #7CCA41 #417CCA
tetradic
#CA417C #C0CA41 #41CA8F #4B41CA
square
#CA417C #C0CA41 #41CA8F #4B41CA
split-complementary
#CA417C #41CA4B #41C0CA
monochromatic
#712043 #A12D5F #CA417C #D7719D #E5A1BE

Accessibility & contrast

On white

4.61
#CA417C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CA417C
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA417C#FFFFFF#000000##FFFFFF
##CA417C1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B657E
Deuteranopia (green-blind)
#807F79
Tritanopia (blue-blind)
#DA3359
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ca417c;
/* rgb */ color: rgb(202, 65, 124);
/* oklch */ color: oklch(58.6% 0.180 357.8);
Tailwind
colors: {
  custom: {
    50: '#df7fa1',
    500: '#ca417c',
    950: '#000000',
  },
}
SCSS
$custom: #ca417c;
$custom-light: #df7fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca417c",
  "rgb": {
    "r": 202,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 334.161,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58607,
    "c": 0.18011,
    "h": 357.8
  },
  "luminance": 0.17792
}

Semantic roles & 50–950 ramp

primary
#CA417C
secondary
#96D1B8
accent
#E09E48
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CA417C

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

Preview Lab → · Contrast checker → · Palette generator →

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