#CA4C8B#CA4C8B

#CA4C8B is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.3% C 0.172 H 352.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CA4C8B
RGBrgb(202, 76, 139)
HSLhsl(330, 54%, 55%)
HSVhsv(330, 62%, 79%)
CMYKcmyk(0%, 62.4%, 31.2%, 20.8%)
CIE-LABlab(51.37, 55.99, -8.77)
CIE-LCHlch(51.37, 56.67, 351.10°)
OKLaboklab(60.34% 0.1705 -0.0225)
OKLCHoklch(60.34% 0.172 352.5)
XYZxyz(31.6033, 19.5928, 26.5385)
Luminance0.1959 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4C8B #4CCA8B
analogous
#CA4CCA #CA4C8B #CA4C4C
triadic
#CA4C8B #8BCA4C #4C8BCA
tetradic
#CA4C8B #CACA4C #4CCA8B #4C4CCA
square
#CA4C8B #CACA4C #4CCA8B #4C4CCA
split-complementary
#CA4C8B #4CCA4C #4CCACA
monochromatic
#78244E #A7326C #CA4C8B #D87BAA #E6AAC8

Accessibility & contrast

On white

4.27
#CA4C8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CA4C8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4C8B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4C8B#FFFFFF#000000##000000
##CA4C8B1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6C8D
Deuteranopia (green-blind)
#818388
Tritanopia (blue-blind)
#D84565
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca4c8b;
/* rgb */ color: rgb(202, 76, 139);
/* oklch */ color: oklch(60.3% 0.172 352.5);
Tailwind
colors: {
  custom: {
    50: '#de85ac',
    500: '#ca4c8b',
    950: '#000000',
  },
}
SCSS
$custom: #ca4c8b;
$custom-light: #de85ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4c8b",
  "rgb": {
    "r": 202,
    "g": 76,
    "b": 139
  },
  "hsl": {
    "h": 330,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60338,
    "c": 0.17196,
    "h": 352.5
  },
  "luminance": 0.1959
}

Semantic roles & 50–950 ramp

primary
#CA4C8B
secondary
#9ED4B9
accent
#DE944A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA4C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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