#CA417E#CA417E

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

Color values

HEX#CA417E
RGBrgb(202, 65, 126)
HSLhsl(333, 56%, 52%)
HSVhsv(333, 68%, 79%)
CMYKcmyk(0%, 67.8%, 37.6%, 20.8%)
CIE-LABlab(49.31, 58.98, -4.04)
CIE-LCHlch(49.31, 59.12, 356.08°)
OKLaboklab(58.67% 0.1806 -0.0099)
OKLCHoklch(58.67% 0.181 356.9)
XYZxyz(30.0152, 17.8470, 21.5988)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA417E #41CA8D
analogous
#CA41C2 #CA417E #CA4941
triadic
#CA417E #7ECA41 #417ECA
tetradic
#CA417E #C2CA41 #41CA8D #4941CA
square
#CA417E #C2CA41 #41CA8D #4941CA
split-complementary
#CA417E #41CA49 #41C2CA
monochromatic
#712044 #A12D61 #CA417E #D7719E #E5A1BF

Accessibility & contrast

On white

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

On black

4.57
#CA417E on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CA417E#FFFFFF#000000##FFFFFF
##CA417E1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca417e;
/* rgb */ color: rgb(202, 65, 126);
/* oklch */ color: oklch(58.7% 0.181 356.9);
Tailwind
colors: {
  custom: {
    50: '#df7fa3',
    500: '#ca417e',
    950: '#000000',
  },
}
SCSS
$custom: #ca417e;
$custom-light: #df7fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca417e",
  "rgb": {
    "r": 202,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 333.285,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58674,
    "c": 0.18088,
    "h": 356.9
  },
  "luminance": 0.17844
}

Semantic roles & 50–950 ramp

primary
#CA417E
secondary
#96D1B7
accent
#E09C48
background
#FEF8FA
surface
#FCEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CA417E

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

Preview Lab → · Contrast checker → · Palette generator →

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