#CA417F#CA417F

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

Color values

HEX#CA417F
RGBrgb(202, 65, 127)
HSLhsl(333, 56%, 52%)
HSVhsv(333, 68%, 79%)
CMYKcmyk(0%, 67.8%, 37.1%, 20.8%)
CIE-LABlab(49.34, 59.09, -4.59)
CIE-LCHlch(49.34, 59.27, 355.55°)
OKLaboklab(58.71% 0.1809 -0.0113)
OKLCHoklch(58.71% 0.181 356.4)
XYZxyz(30.0801, 17.8730, 21.9403)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA417F #41CA8C
analogous
#CA41C3 #CA417F #CA4841
triadic
#CA417F #7FCA41 #417FCA
tetradic
#CA417F #C3CA41 #41CA8C #4841CA
square
#CA417F #C3CA41 #41CA8C #4841CA
split-complementary
#CA417F #41CA48 #41C3CA
monochromatic
#712044 #A12D61 #CA417F #D7719F #E5A1BF

Accessibility & contrast

On white

4.59
#CA417F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CA417F
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA417F#FFFFFF#000000##FFFFFF
##CA417F1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6581
Deuteranopia (green-blind)
#807F7C
Tritanopia (blue-blind)
#DA345B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ca417f;
/* rgb */ color: rgb(202, 65, 127);
/* oklch */ color: oklch(58.7% 0.181 356.4);
Tailwind
colors: {
  custom: {
    50: '#df7fa4',
    500: '#ca417f',
    950: '#000000',
  },
}
SCSS
$custom: #ca417f;
$custom-light: #df7fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca417f",
  "rgb": {
    "r": 202,
    "g": 65,
    "b": 127
  },
  "hsl": {
    "h": 332.847,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58708,
    "c": 0.18129,
    "h": 356.4
  },
  "luminance": 0.17869
}

Semantic roles & 50–950 ramp

primary
#CA417F
secondary
#96D1B6
accent
#E09B48
background
#FEF8FA
surface
#FCEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CA417F

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

Preview Lab → · Contrast checker → · Palette generator →

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