#CA578F#CA578F

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

Color values

HEX#CA578F
RGBrgb(202, 87, 143)
HSLhsl(331, 52%, 57%)
HSVhsv(331, 57%, 79%)
CMYKcmyk(0%, 56.9%, 29.2%, 20.8%)
CIE-LABlab(53.34, 51.56, -8.20)
CIE-LCHlch(53.34, 52.21, 350.96°)
OKLaboklab(61.84% 0.1564 -0.0211)
OKLCHoklch(61.84% 0.158 352.3)
XYZxyz(32.7246, 21.3593, 28.3806)
Luminance0.2136 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA578F #57CA92
analogous
#CA57C8 #CA578F #CA5957
triadic
#CA578F #8FCA57 #578FCA
tetradic
#CA578F #C8CA57 #57CA92 #5957CA
square
#CA578F #C8CA57 #57CA92 #5957CA
split-complementary
#CA578F #57CA59 #57C8CA
monochromatic
#7F2852 #AD3770 #CA578F #D986AE #E7B4CD

Accessibility & contrast

On white

3.98
#CA578F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA578F#FFFFFF#000000##000000
##CA578F1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#667291
Deuteranopia (green-blind)
#85878C
Tritanopia (blue-blind)
#D8516D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ca578f;
/* rgb */ color: rgb(202, 87, 143);
/* oklch */ color: oklch(61.8% 0.158 352.3);
Tailwind
colors: {
  custom: {
    50: '#dd8baf',
    500: '#ca578f',
    950: '#000000',
  },
}
SCSS
$custom: #ca578f;
$custom-light: #dd8baf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca578f",
  "rgb": {
    "r": 202,
    "g": 87,
    "b": 143
  },
  "hsl": {
    "h": 330.783,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61841,
    "c": 0.15783,
    "h": 352.3
  },
  "luminance": 0.21356
}

Semantic roles & 50–950 ramp

primary
#CA578F
secondary
#A7D6BF
accent
#DB964C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#150C10
muted
#847D7F

Preview Lab

Preview with #CA578F

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

Preview Lab → · Contrast checker → · Palette generator →

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