#CA517C#CA517C

#CA517C is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.4% C 0.159 H 0.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CA517C
RGBrgb(202, 81, 124)
HSLhsl(339, 53%, 55%)
HSVhsv(339, 60%, 79%)
CMYKcmyk(0%, 59.9%, 38.6%, 20.8%)
CIE-LABlab(51.72, 52.04, 0.71)
CIE-LCHlch(51.72, 52.04, 0.78°)
OKLaboklab(60.45% 0.1588 0.0025)
OKLCHoklch(60.45% 0.159 0.9)
XYZxyz(30.9395, 19.9001, 21.2766)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA517C #51CA9F
analogous
#CA51B8 #CA517C #CA6251
triadic
#CA517C #7CCA51 #517CCA
tetradic
#CA517C #B8CA51 #51CA9F #6251CA
square
#CA517C #B8CA51 #51CA9F #6251CA
split-complementary
#CA517C #51CA62 #51B8CA
monochromatic
#7B2544 #AA345E #CA517C #D8809F #E7AFC3

Accessibility & contrast

On white

4.22
#CA517C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CA517C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA517C
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA517C#FFFFFF#000000##000000
##CA517C1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#676D7D
Deuteranopia (green-blind)
#878479
Tritanopia (blue-blind)
#DA4562
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca517c;
/* rgb */ color: rgb(202, 81, 124);
/* oklch */ color: oklch(60.4% 0.159 0.9);
Tailwind
colors: {
  custom: {
    50: '#de87a1',
    500: '#ca517c',
    950: '#000000',
  },
}
SCSS
$custom: #ca517c;
$custom-light: #de87a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca517c",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 338.678,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60445,
    "c": 0.15881,
    "h": 0.9
  },
  "luminance": 0.19897
}

Semantic roles & 50–950 ramp

primary
#CA517C
secondary
#A2D5C3
accent
#DDA94B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CA517C

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

Preview Lab → · Contrast checker → · Palette generator →

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