#CA5786#CA5786

#CA5786 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.5% C 0.154 H 357.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CA5786
RGBrgb(202, 87, 134)
HSLhsl(335, 52%, 57%)
HSVhsv(335, 57%, 79%)
CMYKcmyk(0%, 56.9%, 33.7%, 20.8%)
CIE-LABlab(53.06, 50.43, -3.30)
CIE-LCHlch(53.06, 50.54, 356.26°)
OKLaboklab(61.54% 0.1536 -0.008)
OKLCHoklch(61.54% 0.154 357)
XYZxyz(32.0700, 21.0974, 24.9329)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5786 #57CA9B
analogous
#CA57C0 #CA5786 #CA6257
triadic
#CA5786 #86CA57 #5786CA
tetradic
#CA5786 #C0CA57 #57CA9B #6257CA
square
#CA5786 #C0CA57 #57CA9B #6257CA
split-complementary
#CA5786 #57CA62 #57C0CA
monochromatic
#7F284B #AD3767 #CA5786 #D986A8 #E7B4C9

Accessibility & contrast

On white

4.02
#CA5786 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CA5786 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5786
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5786#FFFFFF#000000##000000
##CA57861.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#697187
Deuteranopia (green-blind)
#888783
Tritanopia (blue-blind)
#D94F69
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ca5786;
/* rgb */ color: rgb(202, 87, 134);
/* oklch */ color: oklch(61.5% 0.154 357.0);
Tailwind
colors: {
  custom: {
    50: '#de8ba9',
    500: '#ca5786',
    950: '#000000',
  },
}
SCSS
$custom: #ca5786;
$custom-light: #de8ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5786",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 134
  },
  "hsl": {
    "h": 335.478,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61536,
    "c": 0.15377,
    "h": 357
  },
  "luminance": 0.21094
}

Semantic roles & 50–950 ramp

primary
#CA5786
secondary
#A7D6C3
accent
#DBA14C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CA5786

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

Preview Lab → · Contrast checker → · Palette generator →

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