#CA518F#CA518F

#CA518F is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.1% C 0.167 H 351.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CA518F
RGBrgb(202, 81, 143)
HSLhsl(329, 53%, 55%)
HSVhsv(329, 60%, 79%)
CMYKcmyk(0%, 59.9%, 29.2%, 20.8%)
CIE-LABlab(52.32, 54.30, -9.73)
CIE-LCHlch(52.32, 55.16, 349.84°)
OKLaboklab(61.08% 0.1649 -0.0252)
OKLCHoklch(61.08% 0.167 351.3)
XYZxyz(32.2589, 20.4278, 28.2253)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA518F #51CA8C
analogous
#C851CA #CA518F #CA5152
triadic
#CA518F #8FCA51 #518FCA
tetradic
#CA518F #CAC851 #51CA8C #5152CA
square
#CA518F #CAC851 #51CA8C #5152CA
split-complementary
#CA518F #52CA51 #51CAC8
monochromatic
#7B2551 #AA3470 #CA518F #D880AD #E7AFCB

Accessibility & contrast

On white

4.13
#CA518F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CA518F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA518F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA518F#FFFFFF#000000##000000
##CA518F1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#616F91
Deuteranopia (green-blind)
#83858C
Tritanopia (blue-blind)
#D84B6A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca518f;
/* rgb */ color: rgb(202, 81, 143);
/* oklch */ color: oklch(61.1% 0.167 351.3);
Tailwind
colors: {
  custom: {
    50: '#de88af',
    500: '#ca518f',
    950: '#000000',
  },
}
SCSS
$custom: #ca518f;
$custom-light: #de88af;
$custom-dark: #000000;
JSON
{
  "hex": "#ca518f",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 329.256,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61081,
    "c": 0.16677,
    "h": 351.3
  },
  "luminance": 0.20425
}

Semantic roles & 50–950 ramp

primary
#CA518F
secondary
#A2D5BB
accent
#DD924B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA518F

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

Preview Lab → · Contrast checker → · Palette generator →

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