#CA4D8B#CA4D8B

#CA4D8B is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.5% C 0.171 H 352.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CA4D8B
RGBrgb(202, 77, 139)
HSLhsl(330, 54%, 55%)
HSVhsv(330, 62%, 79%)
CMYKcmyk(0%, 61.9%, 31.2%, 20.8%)
CIE-LABlab(51.53, 55.56, -8.53)
CIE-LCHlch(51.53, 56.21, 351.27°)
OKLaboklab(60.46% 0.1691 -0.0219)
OKLCHoklch(60.46% 0.171 352.6)
XYZxyz(31.6727, 19.7317, 26.5617)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4D8B #4DCA8C
analogous
#CA4DCA #CA4D8B #CA4D4D
triadic
#CA4D8B #8BCA4D #4D8BCA
tetradic
#CA4D8B #CACA4D #4DCA8C #4D4DCA
square
#CA4D8B #CACA4D #4DCA8C #4D4DCA
split-complementary
#CA4D8B #4DCA4D #4DCACA
monochromatic
#79244E #A8326C #CA4D8B #D87CAA #E6ABC8

Accessibility & contrast

On white

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

On black

4.95
#CA4D8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4D8B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4D8B#FFFFFF#000000##000000
##CA4D8B1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6D8D
Deuteranopia (green-blind)
#828388
Tritanopia (blue-blind)
#D84666
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca4d8b;
/* rgb */ color: rgb(202, 77, 139);
/* oklch */ color: oklch(60.5% 0.171 352.6);
Tailwind
colors: {
  custom: {
    50: '#de85ac',
    500: '#ca4d8b',
    950: '#000000',
  },
}
SCSS
$custom: #ca4d8b;
$custom-light: #de85ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4d8b",
  "rgb": {
    "r": 202,
    "g": 77,
    "b": 139
  },
  "hsl": {
    "h": 330.24,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60455,
    "c": 0.17054,
    "h": 352.6
  },
  "luminance": 0.19728
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA4D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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