#CA578E#CA578E

#CA578E is a mid, vivid pink. Relative luminance 0.213; OKLCH L 61.8% C 0.157 H 352.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#CA578E
RGBrgb(202, 87, 142)
HSLhsl(331, 52%, 57%)
HSVhsv(331, 57%, 79%)
CMYKcmyk(0%, 56.9%, 29.7%, 20.8%)
CIE-LABlab(53.31, 51.43, -7.66)
CIE-LCHlch(53.31, 52.00, 351.53°)
OKLaboklab(61.81% 0.1561 -0.0196)
OKLCHoklch(61.81% 0.157 352.8)
XYZxyz(32.6492, 21.3291, 27.9834)
Luminance0.2133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA578E #57CA93
analogous
#CA57C8 #CA578E #CA5A57
triadic
#CA578E #8ECA57 #578ECA
tetradic
#CA578E #C8CA57 #57CA93 #5A57CA
square
#CA578E #C8CA57 #57CA93 #5A57CA
split-complementary
#CA578E #57CA5A #57C8CA
monochromatic
#7F2851 #AD376F #CA578E #D986AD #E7B4CD

Accessibility & contrast

On white

3.99
#CA578E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CA578E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA578E
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA578E#FFFFFF#000000##000000
##CA578E1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#677290
Deuteranopia (green-blind)
#86878B
Tritanopia (blue-blind)
#D8516C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ca578e;
/* rgb */ color: rgb(202, 87, 142);
/* oklch */ color: oklch(61.8% 0.157 352.8);
Tailwind
colors: {
  custom: {
    50: '#dd8baf',
    500: '#ca578e',
    950: '#000000',
  },
}
SCSS
$custom: #ca578e;
$custom-light: #dd8baf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca578e",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 142
  },
  "hsl": {
    "h": 331.304,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61806,
    "c": 0.15734,
    "h": 352.8
  },
  "luminance": 0.21326
}

Semantic roles & 50–950 ramp

primary
#CA578E
secondary
#A7D6BF
accent
#DB974C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA578E

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

Preview Lab → · Contrast checker → · Palette generator →

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