#CA518D#CA518D

#CA518D is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.0% C 0.166 H 352.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CA518D
RGBrgb(202, 81, 141)
HSLhsl(330, 53%, 55%)
HSVhsv(330, 60%, 79%)
CMYKcmyk(0%, 59.9%, 30.2%, 20.8%)
CIE-LABlab(52.25, 54.05, -8.65)
CIE-LCHlch(52.25, 54.73, 350.91°)
OKLaboklab(61.01% 0.1643 -0.0223)
OKLCHoklch(61.01% 0.166 352.3)
XYZxyz(32.1087, 20.3677, 27.4345)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA518D #51CA8E
analogous
#CA51C9 #CA518D #CA5151
triadic
#CA518D #8DCA51 #518DCA
tetradic
#CA518D #C9CA51 #51CA8E #5151CA
square
#CA518D #C9CA51 #51CA8E #5151CA
split-complementary
#CA518D #51CA51 #51C9CA
monochromatic
#7B2550 #AA346E #CA518D #D880AC #E7AFCA

Accessibility & contrast

On white

4.14
#CA518D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CA518D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA518D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA518D#FFFFFF#000000##000000
##CA518D1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#626F8F
Deuteranopia (green-blind)
#83858A
Tritanopia (blue-blind)
#D84B69
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca518d;
/* rgb */ color: rgb(202, 81, 141);
/* oklch */ color: oklch(61.0% 0.166 352.3);
Tailwind
colors: {
  custom: {
    50: '#de88ae',
    500: '#ca518d',
    950: '#000000',
  },
}
SCSS
$custom: #ca518d;
$custom-light: #de88ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ca518d",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 141
  },
  "hsl": {
    "h": 330.248,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61009,
    "c": 0.16577,
    "h": 352.3
  },
  "luminance": 0.20365
}

Semantic roles & 50–950 ramp

primary
#CA518D
secondary
#A2D5BC
accent
#DD954B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA518D

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

Preview Lab → · Contrast checker → · Palette generator →

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