#CA517E#CA517E

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

Color values

HEX#CA517E
RGBrgb(202, 81, 126)
HSLhsl(338, 53%, 55%)
HSVhsv(338, 60%, 79%)
CMYKcmyk(0%, 59.9%, 37.6%, 20.8%)
CIE-LABlab(51.78, 52.26, -0.40)
CIE-LCHlch(51.78, 52.26, 359.56°)
OKLaboklab(60.51% 0.1595 -0.0004)
OKLCHoklch(60.51% 0.159 359.9)
XYZxyz(31.0673, 19.9512, 21.9495)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA517E #51CA9D
analogous
#CA51BA #CA517E #CA6051
triadic
#CA517E #7ECA51 #517ECA
tetradic
#CA517E #BACA51 #51CA9D #6051CA
square
#CA517E #BACA51 #51CA9D #6051CA
split-complementary
#CA517E #51CA60 #51BACA
monochromatic
#7B2545 #AA3460 #CA517E #D880A1 #E7AFC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA517E#FFFFFF#000000##000000
##CA517E1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#666D7F
Deuteranopia (green-blind)
#86847B
Tritanopia (blue-blind)
#DA4662
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca517e;
/* rgb */ color: rgb(202, 81, 126);
/* oklch */ color: oklch(60.5% 0.159 359.9);
Tailwind
colors: {
  custom: {
    50: '#de87a3',
    500: '#ca517e',
    950: '#000000',
  },
}
SCSS
$custom: #ca517e;
$custom-light: #de87a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca517e",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 337.686,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60507,
    "c": 0.15947,
    "h": 359.9
  },
  "luminance": 0.19948
}

Semantic roles & 50–950 ramp

primary
#CA517E
secondary
#A2D5C2
accent
#DDA74B
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CA517E

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

Preview Lab → · Contrast checker → · Palette generator →

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