#CA5787#CA5787

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

Color values

HEX#CA5787
RGBrgb(202, 87, 135)
HSLhsl(335, 52%, 57%)
HSVhsv(335, 57%, 79%)
CMYKcmyk(0%, 56.9%, 33.2%, 20.8%)
CIE-LABlab(53.09, 50.56, -3.84)
CIE-LCHlch(53.09, 50.70, 355.65°)
OKLaboklab(61.57% 0.1539 -0.0095)
OKLCHoklch(61.57% 0.154 356.5)
XYZxyz(32.1401, 21.1255, 25.3020)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5787 #57CA9A
analogous
#CA57C0 #CA5787 #CA6157
triadic
#CA5787 #87CA57 #5787CA
tetradic
#CA5787 #C0CA57 #57CA9A #6157CA
square
#CA5787 #C0CA57 #57CA9A #6157CA
split-complementary
#CA5787 #57CA61 #57C0CA
monochromatic
#7F284C #AD3768 #CA5787 #D986A8 #E7B4C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA5787#FFFFFF#000000##000000
##CA57871.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)
#697188
Deuteranopia (green-blind)
#878784
Tritanopia (blue-blind)
#D94F69
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ca5787;
/* rgb */ color: rgb(202, 87, 135);
/* oklch */ color: oklch(61.6% 0.154 356.5);
Tailwind
colors: {
  custom: {
    50: '#de8ba9',
    500: '#ca5787',
    950: '#000000',
  },
}
SCSS
$custom: #ca5787;
$custom-light: #de8ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5787",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 334.957,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61569,
    "c": 0.15417,
    "h": 356.5
  },
  "luminance": 0.21122
}

Semantic roles & 50–950 ramp

primary
#CA5787
secondary
#A7D6C2
accent
#DBA04C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA5787

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

Preview Lab → · Contrast checker → · Palette generator →

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