#CA4A9D#CA4A9D

#CA4A9D is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.8% C 0.185 H 344.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CA4A9D
RGBrgb(202, 74, 157)
HSLhsl(321, 55%, 54%)
HSVhsv(321, 63%, 79%)
CMYKcmyk(0%, 63.4%, 22.3%, 20.8%)
CIE-LABlab(51.71, 59.17, -18.94)
CIE-LCHlch(51.71, 62.12, 342.25°)
OKLaboklab(60.8% 0.1778 -0.0504)
OKLCHoklch(60.8% 0.185 344.2)
XYZxyz(32.8928, 19.8916, 33.9989)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4A9D #4ACA77
analogous
#B74ACA #CA4A9D #CA4A5D
triadic
#CA4A9D #9DCA4A #4A9DCA
tetradic
#CA4A9D #CAB74A #4ACA77 #4A5DCA
square
#CA4A9D #CAB74A #4ACA77 #4A5DCA
split-complementary
#CA4A9D #5DCA4A #4ACAB7
monochromatic
#772359 #A6317D #CA4A9D #D879B7 #E6A9D0

Accessibility & contrast

On white

4.22
#CA4A9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CA4A9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4A9D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4A9D#FFFFFF#000000##000000
##CA4A9D1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#566E9F
Deuteranopia (green-blind)
#7B839A
Tritanopia (blue-blind)
#D7496D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca4a9d;
/* rgb */ color: rgb(202, 74, 157);
/* oklch */ color: oklch(60.8% 0.185 344.2);
Tailwind
colors: {
  custom: {
    50: '#de84ba',
    500: '#ca4a9d',
    950: '#000000',
  },
}
SCSS
$custom: #ca4a9d;
$custom-light: #de84ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4a9d",
  "rgb": {
    "r": 202,
    "g": 74,
    "b": 157
  },
  "hsl": {
    "h": 321.094,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60802,
    "c": 0.18475,
    "h": 344.2
  },
  "luminance": 0.19888
}

Semantic roles & 50–950 ramp

primary
#CA4A9D
secondary
#9DD3B0
accent
#DE7E4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CA4A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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