#CA517F#CA517F

#CA517F is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.5% C 0.160 H 359.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CA517F
RGBrgb(202, 81, 127)
HSLhsl(337, 53%, 55%)
HSVhsv(337, 60%, 79%)
CMYKcmyk(0%, 59.9%, 37.1%, 20.8%)
CIE-LABlab(51.81, 52.37, -0.96)
CIE-LCHlch(51.81, 52.38, 358.95°)
OKLaboklab(60.54% 0.1598 -0.0018)
OKLCHoklch(60.54% 0.16 359.3)
XYZxyz(31.1321, 19.9771, 22.2910)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA517F #51CA9C
analogous
#CA51BB #CA517F #CA5F51
triadic
#CA517F #7FCA51 #517FCA
tetradic
#CA517F #BBCA51 #51CA9C #5F51CA
square
#CA517F #BBCA51 #51CA9C #5F51CA
split-complementary
#CA517F #51CA5F #51BBCA
monochromatic
#7B2546 #AA3461 #CA517F #D880A2 #E7AFC4

Accessibility & contrast

On white

4.20
#CA517F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CA517F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA517F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA517F#FFFFFF#000000##000000
##CA517F1.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#666D80
Deuteranopia (green-blind)
#86847C
Tritanopia (blue-blind)
#D94663
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca517f;
/* rgb */ color: rgb(202, 81, 127);
/* oklch */ color: oklch(60.5% 0.160 359.3);
Tailwind
colors: {
  custom: {
    50: '#de87a4',
    500: '#ca517f',
    950: '#000000',
  },
}
SCSS
$custom: #ca517f;
$custom-light: #de87a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca517f",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 337.19,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60539,
    "c": 0.15982,
    "h": 359.3
  },
  "luminance": 0.19974
}

Semantic roles & 50–950 ramp

primary
#CA517F
secondary
#A2D5C1
accent
#DDA54B
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CA517F

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

Preview Lab → · Contrast checker → · Palette generator →

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