#CA417B#CA417B

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

Color values

HEX#CA417B
RGBrgb(202, 65, 123)
HSLhsl(335, 56%, 52%)
HSVhsv(335, 68%, 79%)
CMYKcmyk(0%, 67.8%, 39.1%, 20.8%)
CIE-LABlab(49.22, 58.66, -2.36)
CIE-LCHlch(49.22, 58.71, 357.69°)
OKLaboklab(58.58% 0.1797 -0.0055)
OKLCHoklch(58.58% 0.18 358.3)
XYZxyz(29.8245, 17.7708, 20.5946)
Luminance0.1777 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA417B #41CA90
analogous
#CA41BF #CA417B #CA4C41
triadic
#CA417B #7BCA41 #417BCA
tetradic
#CA417B #BFCA41 #41CA90 #4C41CA
square
#CA417B #BFCA41 #41CA90 #4C41CA
split-complementary
#CA417B #41CA4C #41BFCA
monochromatic
#712042 #A12D5E #CA417B #D7719C #E5A1BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA417B#FFFFFF#000000##FFFFFF
##CA417B1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca417b;
/* rgb */ color: rgb(202, 65, 123);
/* oklch */ color: oklch(58.6% 0.180 358.3);
Tailwind
colors: {
  custom: {
    50: '#df7fa1',
    500: '#ca417b',
    950: '#000000',
  },
}
SCSS
$custom: #ca417b;
$custom-light: #df7fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca417b",
  "rgb": {
    "r": 202,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 334.599,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58575,
    "c": 0.17974,
    "h": 358.3
  },
  "luminance": 0.17767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA417B

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

Preview Lab → · Contrast checker → · Palette generator →

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