#CA518C#CA518C

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

Color values

HEX#CA518C
RGBrgb(202, 81, 140)
HSLhsl(331, 53%, 55%)
HSVhsv(331, 60%, 79%)
CMYKcmyk(0%, 59.9%, 30.7%, 20.8%)
CIE-LABlab(52.22, 53.92, -8.10)
CIE-LCHlch(52.22, 54.53, 351.45°)
OKLaboklab(60.97% 0.164 -0.0208)
OKLCHoklch(60.97% 0.165 352.8)
XYZxyz(32.0347, 20.3381, 27.0444)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA518C #51CA8F
analogous
#CA51C8 #CA518C #CA5251
triadic
#CA518C #8CCA51 #518CCA
tetradic
#CA518C #C8CA51 #51CA8F #5251CA
square
#CA518C #C8CA51 #51CA8F #5251CA
split-complementary
#CA518C #51CA52 #51C8CA
monochromatic
#7B254F #AA346D #CA518C #D880AB #E7AFCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA518C#FFFFFF#000000##000000
##CA518C1.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)
#626F8E
Deuteranopia (green-blind)
#838589
Tritanopia (blue-blind)
#D84A68
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca518c;
/* rgb */ color: rgb(202, 81, 140);
/* oklch */ color: oklch(61.0% 0.165 352.8);
Tailwind
colors: {
  custom: {
    50: '#de88ad',
    500: '#ca518c',
    950: '#000000',
  },
}
SCSS
$custom: #ca518c;
$custom-light: #de88ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ca518c",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 140
  },
  "hsl": {
    "h": 330.744,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60974,
    "c": 0.16528,
    "h": 352.8
  },
  "luminance": 0.20335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA518C

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

Preview Lab → · Contrast checker → · Palette generator →

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