#CA4787#CA4787

#CA4787 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.6% C 0.177 H 353.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CA4787
RGBrgb(202, 71, 135)
HSLhsl(331, 55%, 54%)
HSVhsv(331, 65%, 79%)
CMYKcmyk(0%, 64.9%, 33.2%, 20.8%)
CIE-LABlab(50.47, 57.61, -7.73)
CIE-LCHlch(50.47, 58.12, 352.36°)
OKLaboklab(59.63% 0.1758 -0.0197)
OKLCHoklch(59.63% 0.177 353.6)
XYZxyz(30.9852, 18.8157, 24.9170)
Luminance0.1881 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4787 #47CA8A
analogous
#CA47C8 #CA4787 #CA4847
triadic
#CA4787 #87CA47 #4787CA
tetradic
#CA4787 #C8CA47 #47CA8A #4847CA
square
#CA4787 #C8CA47 #47CA8A #4847CA
split-complementary
#CA4787 #47CA48 #47C8CA
monochromatic
#75224A #A42F69 #CA4787 #D877A6 #E5A6C5

Accessibility & contrast

On white

4.41
#CA4787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CA4787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4787
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4787#FFFFFF#000000##000000
##CA47871.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6989
Deuteranopia (green-blind)
#808184
Tritanopia (blue-blind)
#D93E61
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca4787;
/* rgb */ color: rgb(202, 71, 135);
/* oklch */ color: oklch(59.6% 0.177 353.6);
Tailwind
colors: {
  custom: {
    50: '#de82aa',
    500: '#ca4787',
    950: '#000000',
  },
}
SCSS
$custom: #ca4787;
$custom-light: #de82aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4787",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 135
  },
  "hsl": {
    "h": 330.687,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59626,
    "c": 0.17694,
    "h": 353.6
  },
  "luminance": 0.18812
}

Semantic roles & 50–950 ramp

primary
#CA4787
secondary
#9AD2B7
accent
#DF9649
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CA4787

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

Preview Lab → · Contrast checker → · Palette generator →

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