#CA578C#CA578C

#CA578C is a mid, vivid pink. Relative luminance 0.213; OKLCH L 61.7% C 0.156 H 353.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#CA578C
RGBrgb(202, 87, 140)
HSLhsl(332, 52%, 57%)
HSVhsv(332, 57%, 79%)
CMYKcmyk(0%, 56.9%, 30.7%, 20.8%)
CIE-LABlab(53.24, 51.18, -6.57)
CIE-LCHlch(53.24, 51.60, 352.68°)
OKLaboklab(61.74% 0.1555 -0.0167)
OKLCHoklch(61.74% 0.156 353.9)
XYZxyz(32.5004, 21.2696, 27.1997)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA578C #57CA95
analogous
#CA57C5 #CA578C #CA5C57
triadic
#CA578C #8CCA57 #578CCA
tetradic
#CA578C #C5CA57 #57CA95 #5C57CA
square
#CA578C #C5CA57 #57CA95 #5C57CA
split-complementary
#CA578C #57CA5C #57C5CA
monochromatic
#7F2850 #AD376D #CA578C #D986AC #E7B4CC

Accessibility & contrast

On white

4.00
#CA578C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CA578C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA578C
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA578C#FFFFFF#000000##000000
##CA578C1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#67728E
Deuteranopia (green-blind)
#868789
Tritanopia (blue-blind)
#D8506B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ca578c;
/* rgb */ color: rgb(202, 87, 140);
/* oklch */ color: oklch(61.7% 0.156 353.9);
Tailwind
colors: {
  custom: {
    50: '#dd8bad',
    500: '#ca578c',
    950: '#000000',
  },
}
SCSS
$custom: #ca578c;
$custom-light: #dd8bad;
$custom-dark: #000000;
JSON
{
  "hex": "#ca578c",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 140
  },
  "hsl": {
    "h": 332.348,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61737,
    "c": 0.15639,
    "h": 353.9
  },
  "luminance": 0.21266
}

Semantic roles & 50–950 ramp

primary
#CA578C
secondary
#A7D6C0
accent
#DB9A4C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA578C

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

Preview Lab → · Contrast checker → · Palette generator →

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