#CA517B#CA517B

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

Color values

HEX#CA517B
RGBrgb(202, 81, 123)
HSLhsl(339, 53%, 55%)
HSVhsv(339, 60%, 79%)
CMYKcmyk(0%, 59.9%, 39.1%, 20.8%)
CIE-LABlab(51.70, 51.93, 1.26)
CIE-LCHlch(51.70, 51.94, 1.39°)
OKLaboklab(60.41% 0.1584 0.0039)
OKLCHoklch(60.41% 0.158 1.4)
XYZxyz(30.8766, 19.8749, 20.9452)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA517B #51CAA0
analogous
#CA51B7 #CA517B #CA6451
triadic
#CA517B #7BCA51 #517BCA
tetradic
#CA517B #B7CA51 #51CAA0 #6451CA
square
#CA517B #B7CA51 #51CAA0 #6451CA
split-complementary
#CA517B #51CA64 #51B7CA
monochromatic
#7B2543 #AA345D #CA517B #D8809F #E7AFC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA517B#FFFFFF#000000##000000
##CA517B1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca517b;
/* rgb */ color: rgb(202, 81, 123);
/* oklch */ color: oklch(60.4% 0.158 1.4);
Tailwind
colors: {
  custom: {
    50: '#de87a1',
    500: '#ca517b',
    950: '#000000',
  },
}
SCSS
$custom: #ca517b;
$custom-light: #de87a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca517b",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 123
  },
  "hsl": {
    "h": 339.174,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60414,
    "c": 0.15849,
    "h": 1.4
  },
  "luminance": 0.19871
}

Semantic roles & 50–950 ramp

primary
#CA517B
secondary
#A2D5C3
accent
#DDAA4B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CA517B

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

Preview Lab → · Contrast checker → · Palette generator →

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