#CA518E#CA518E

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

Color values

HEX#CA518E
RGBrgb(202, 81, 142)
HSLhsl(330, 53%, 55%)
HSVhsv(330, 60%, 79%)
CMYKcmyk(0%, 59.9%, 29.7%, 20.8%)
CIE-LABlab(52.28, 54.17, -9.19)
CIE-LCHlch(52.28, 54.95, 350.37°)
OKLaboklab(61.05% 0.1646 -0.0237)
OKLCHoklch(61.05% 0.166 351.8)
XYZxyz(32.1835, 20.3976, 27.8282)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA518E #51CA8D
analogous
#C951CA #CA518E #CA5151
triadic
#CA518E #8ECA51 #518ECA
tetradic
#CA518E #CAC951 #51CA8D #5151CA
square
#CA518E #CAC951 #51CA8D #5151CA
split-complementary
#CA518E #51CA51 #51CAC9
monochromatic
#7B2551 #AA346F #CA518E #D880AC #E7AFCB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA518E#FFFFFF#000000##000000
##CA518E1.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)
#626F90
Deuteranopia (green-blind)
#83858B
Tritanopia (blue-blind)
#D84B69
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca518e;
/* rgb */ color: rgb(202, 81, 142);
/* oklch */ color: oklch(61.0% 0.166 351.8);
Tailwind
colors: {
  custom: {
    50: '#de88af',
    500: '#ca518e',
    950: '#000000',
  },
}
SCSS
$custom: #ca518e;
$custom-light: #de88af;
$custom-dark: #000000;
JSON
{
  "hex": "#ca518e",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 142
  },
  "hsl": {
    "h": 329.752,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61045,
    "c": 0.16627,
    "h": 351.8
  },
  "luminance": 0.20394
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA518E

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

Preview Lab → · Contrast checker → · Palette generator →

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