#CA5789#CA5789

#CA5789 is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.6% C 0.155 H 355.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#CA5789
RGBrgb(202, 87, 137)
HSLhsl(334, 52%, 57%)
HSVhsv(334, 57%, 79%)
CMYKcmyk(0%, 56.9%, 32.2%, 20.8%)
CIE-LABlab(53.15, 50.80, -4.94)
CIE-LCHlch(53.15, 51.04, 354.45°)
OKLaboklab(61.64% 0.1545 -0.0124)
OKLCHoklch(61.64% 0.155 355.4)
XYZxyz(32.2822, 21.1823, 26.0505)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5789 #57CA98
analogous
#CA57C3 #CA5789 #CA5F57
triadic
#CA5789 #89CA57 #5789CA
tetradic
#CA5789 #C3CA57 #57CA98 #5F57CA
square
#CA5789 #C3CA57 #57CA98 #5F57CA
split-complementary
#CA5789 #57CA5F #57C3CA
monochromatic
#7F284E #AD376A #CA5789 #D986AA #E7B4CA

Accessibility & contrast

On white

4.01
#CA5789 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#CA5789 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5789
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5789#FFFFFF#000000##000000
##CA57891.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#68728B
Deuteranopia (green-blind)
#878786
Tritanopia (blue-blind)
#D8506A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ca5789;
/* rgb */ color: rgb(202, 87, 137);
/* oklch */ color: oklch(61.6% 0.155 355.4);
Tailwind
colors: {
  custom: {
    50: '#de8bab',
    500: '#ca5789',
    950: '#000000',
  },
}
SCSS
$custom: #ca5789;
$custom-light: #de8bab;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5789",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 137
  },
  "hsl": {
    "h": 333.913,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61635,
    "c": 0.15502,
    "h": 355.4
  },
  "luminance": 0.21179
}

Semantic roles & 50–950 ramp

primary
#CA5789
secondary
#A7D6C1
accent
#DB9D4C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA5789

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

Preview Lab → · Contrast checker → · Palette generator →

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