#CA4786#CA4786

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

Color values

HEX#CA4786
RGBrgb(202, 71, 134)
HSLhsl(331, 55%, 54%)
HSVhsv(331, 65%, 79%)
CMYKcmyk(0%, 64.9%, 33.7%, 20.8%)
CIE-LABlab(50.44, 57.49, -7.18)
CIE-LCHlch(50.44, 57.94, 352.88°)
OKLaboklab(59.59% 0.1755 -0.0182)
OKLCHoklch(59.59% 0.176 354.1)
XYZxyz(30.9151, 18.7877, 24.5479)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4786 #47CA8B
analogous
#CA47C7 #CA4786 #CA4947
triadic
#CA4786 #86CA47 #4786CA
tetradic
#CA4786 #C7CA47 #47CA8B #4947CA
square
#CA4786 #C7CA47 #47CA8B #4947CA
split-complementary
#CA4786 #47CA49 #47C7CA
monochromatic
#75224A #A42F68 #CA4786 #D877A5 #E5A6C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA4786#FFFFFF#000000##000000
##CA47861.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)
#5C6988
Deuteranopia (green-blind)
#808183
Tritanopia (blue-blind)
#D93E61
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca4786;
/* rgb */ color: rgb(202, 71, 134);
/* oklch */ color: oklch(59.6% 0.176 354.1);
Tailwind
colors: {
  custom: {
    50: '#de82a9',
    500: '#ca4786',
    950: '#000000',
  },
}
SCSS
$custom: #ca4786;
$custom-light: #de82a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4786",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 134
  },
  "hsl": {
    "h": 331.145,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59591,
    "c": 0.17649,
    "h": 354.1
  },
  "luminance": 0.18784
}

Semantic roles & 50–950 ramp

primary
#CA4786
secondary
#9AD2B7
accent
#DF9749
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CA4786

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

Preview Lab → · Contrast checker → · Palette generator →

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