#CA517D#CA517D

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

Color values

HEX#CA517D
RGBrgb(202, 81, 125)
HSLhsl(338, 53%, 55%)
HSVhsv(338, 60%, 79%)
CMYKcmyk(0%, 59.9%, 38.1%, 20.8%)
CIE-LABlab(51.75, 52.15, 0.15)
CIE-LCHlch(51.75, 52.15, 0.17°)
OKLaboklab(60.48% 0.1591 0.001)
OKLCHoklch(60.48% 0.159 0.4)
XYZxyz(31.0031, 19.9255, 21.6114)
Luminance0.1992 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA517D #51CA9E
analogous
#CA51B9 #CA517D #CA6151
triadic
#CA517D #7DCA51 #517DCA
tetradic
#CA517D #B9CA51 #51CA9E #6151CA
square
#CA517D #B9CA51 #51CA9E #6151CA
split-complementary
#CA517D #51CA61 #51B9CA
monochromatic
#7B2545 #AA345F #CA517D #D880A0 #E7AFC3

Accessibility & contrast

On white

4.21
#CA517D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA517D#FFFFFF#000000##000000
##CA517D1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#676D7E
Deuteranopia (green-blind)
#87847A
Tritanopia (blue-blind)
#DA4662
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca517d;
/* rgb */ color: rgb(202, 81, 125);
/* oklch */ color: oklch(60.5% 0.159 0.4);
Tailwind
colors: {
  custom: {
    50: '#de87a2',
    500: '#ca517d',
    950: '#000000',
  },
}
SCSS
$custom: #ca517d;
$custom-light: #de87a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca517d",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 338.182,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60476,
    "c": 0.15913,
    "h": 0.4
  },
  "luminance": 0.19922
}

Semantic roles & 50–950 ramp

primary
#CA517D
secondary
#A2D5C2
accent
#DDA84B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CA517D

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

Preview Lab → · Contrast checker → · Palette generator →

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