#CA4D8A#CA4D8A

#CA4D8A is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.4% C 0.170 H 353.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CA4D8A
RGBrgb(202, 77, 138)
HSLhsl(331, 54%, 55%)
HSVhsv(331, 62%, 79%)
CMYKcmyk(0%, 61.9%, 31.7%, 20.8%)
CIE-LABlab(51.50, 55.43, -7.99)
CIE-LCHlch(51.50, 56.01, 351.80°)
OKLaboklab(60.42% 0.1688 -0.0204)
OKLCHoklch(60.42% 0.17 353.1)
XYZxyz(31.6000, 19.7026, 26.1786)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4D8A #4DCA8D
analogous
#CA4DC9 #CA4D8A #CA4E4D
triadic
#CA4D8A #8ACA4D #4D8ACA
tetradic
#CA4D8A #C9CA4D #4DCA8D #4E4DCA
square
#CA4D8A #C9CA4D #4DCA8D #4E4DCA
split-complementary
#CA4D8A #4DCA4E #4DC9CA
monochromatic
#79244D #A8326B #CA4D8A #D87CA9 #E6ABC8

Accessibility & contrast

On white

4.25
#CA4D8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CA4D8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4D8A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4D8A#FFFFFF#000000##000000
##CA4D8A1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#606C8C
Deuteranopia (green-blind)
#828387
Tritanopia (blue-blind)
#D94565
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca4d8a;
/* rgb */ color: rgb(202, 77, 138);
/* oklch */ color: oklch(60.4% 0.170 353.1);
Tailwind
colors: {
  custom: {
    50: '#de85ac',
    500: '#ca4d8a',
    950: '#000000',
  },
}
SCSS
$custom: #ca4d8a;
$custom-light: #de85ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4d8a",
  "rgb": {
    "r": 202,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 330.72,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.6042,
    "c": 0.17007,
    "h": 353.1
  },
  "luminance": 0.19699
}

Semantic roles & 50–950 ramp

primary
#CA4D8A
secondary
#9FD4BA
accent
#DD964A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA4D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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