#CA517A#CA517A

#CA517A is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.4% C 0.158 H 1.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CA517A
RGBrgb(202, 81, 122)
HSLhsl(340, 53%, 55%)
HSVhsv(340, 60%, 79%)
CMYKcmyk(0%, 59.9%, 39.6%, 20.8%)
CIE-LABlab(51.67, 51.82, 1.82)
CIE-LCHlch(51.67, 51.85, 2.01°)
OKLaboklab(60.38% 0.1581 0.0054)
OKLCHoklch(60.38% 0.158 1.9)
XYZxyz(30.8143, 19.8500, 20.6173)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA517A #51CAA1
analogous
#CA51B7 #CA517A #CA6451
triadic
#CA517A #7ACA51 #517ACA
tetradic
#CA517A #B7CA51 #51CAA1 #6451CA
square
#CA517A #B7CA51 #51CAA1 #6451CA
split-complementary
#CA517A #51CA64 #51B7CA
monochromatic
#7B2543 #AA345C #CA517A #D8809E #E7AFC2

Accessibility & contrast

On white

4.23
#CA517A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CA517A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA517A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA517A#FFFFFF#000000##000000
##CA517A1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#676D7B
Deuteranopia (green-blind)
#878477
Tritanopia (blue-blind)
#DA4561
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca517a;
/* rgb */ color: rgb(202, 81, 122);
/* oklch */ color: oklch(60.4% 0.158 1.9);
Tailwind
colors: {
  custom: {
    50: '#de87a0',
    500: '#ca517a',
    950: '#000000',
  },
}
SCSS
$custom: #ca517a;
$custom-light: #de87a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca517a",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 122
  },
  "hsl": {
    "h": 339.669,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60384,
    "c": 0.15818,
    "h": 1.9
  },
  "luminance": 0.19847
}

Semantic roles & 50–950 ramp

primary
#CA517A
secondary
#A2D5C4
accent
#DDAB4B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CA517A

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

Preview Lab → · Contrast checker → · Palette generator →

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