#CA518A#CA518A

#CA518A is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.9% C 0.164 H 353.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CA518A
RGBrgb(202, 81, 138)
HSLhsl(332, 53%, 55%)
HSVhsv(332, 60%, 79%)
CMYKcmyk(0%, 59.9%, 31.7%, 20.8%)
CIE-LABlab(52.15, 53.67, -7.01)
CIE-LCHlch(52.15, 54.13, 352.56°)
OKLaboklab(60.9% 0.1634 -0.0179)
OKLCHoklch(60.9% 0.164 353.8)
XYZxyz(31.8885, 20.2797, 26.2748)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA518A #51CA91
analogous
#CA51C6 #CA518A #CA5551
triadic
#CA518A #8ACA51 #518ACA
tetradic
#CA518A #C6CA51 #51CA91 #5551CA
square
#CA518A #C6CA51 #51CA91 #5551CA
split-complementary
#CA518A #51CA55 #51C6CA
monochromatic
#7B254E #AA346B #CA518A #D880AA #E7AFC9

Accessibility & contrast

On white

4.15
#CA518A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CA518A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA518A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA518A#FFFFFF#000000##000000
##CA518A1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#636F8C
Deuteranopia (green-blind)
#848587
Tritanopia (blue-blind)
#D84A67
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca518a;
/* rgb */ color: rgb(202, 81, 138);
/* oklch */ color: oklch(60.9% 0.164 353.8);
Tailwind
colors: {
  custom: {
    50: '#de88ac',
    500: '#ca518a',
    950: '#000000',
  },
}
SCSS
$custom: #ca518a;
$custom-light: #de88ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ca518a",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 138
  },
  "hsl": {
    "h": 331.736,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60904,
    "c": 0.16433,
    "h": 353.8
  },
  "luminance": 0.20276
}

Semantic roles & 50–950 ramp

primary
#CA518A
secondary
#A2D5BD
accent
#DD984B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA518A

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

Preview Lab → · Contrast checker → · Palette generator →

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