#CA2C78#CA2C78

#CA2C78 is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.6% C 0.201 H 356.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CA2C78
RGBrgb(202, 44, 120)
HSLhsl(331, 64%, 48%)
HSVhsv(331, 78%, 79%)
CMYKcmyk(0%, 78.2%, 40.6%, 20.8%)
CIE-LABlab(46.60, 65.41, -4.39)
CIE-LCHlch(46.60, 65.56, 356.16°)
OKLaboklab(56.62% 0.2012 -0.0107)
OKLCHoklch(56.62% 0.201 356.9)
XYZxyz(28.6501, 15.7177, 19.2908)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2C78 #2CCA7E
analogous
#CA2CC7 #CA2C78 #CA2F2C
triadic
#CA2C78 #78CA2C #2C78CA
tetradic
#CA2C78 #C7CA2C #2CCA7E #2F2CCA
square
#CA2C78 #C7CA2C #2CCA7E #2F2CCA
split-complementary
#CA2C78 #2CCA2F #2CC7CA
monochromatic
#65163C #98215A #CA2C78 #DB5897 #E68BB6

Accessibility & contrast

On white

5.07
#CA2C78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#CA2C78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2C78
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2C78#FFFFFF#000000##FFFFFF
##CA2C781.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5C7A
Deuteranopia (green-blind)
#7A7974
Tritanopia (blue-blind)
#DB0F4F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ca2c78;
/* rgb */ color: rgb(202, 44, 120);
/* oklch */ color: oklch(56.6% 0.201 356.9);
Tailwind
colors: {
  custom: {
    50: '#e0769e',
    500: '#ca2c78',
    950: '#000000',
  },
}
SCSS
$custom: #ca2c78;
$custom-light: #e0769e;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2c78",
  "rgb": {
    "r": 202,
    "g": 44,
    "b": 120
  },
  "hsl": {
    "h": 331.139,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56622,
    "c": 0.20147,
    "h": 356.9
  },
  "luminance": 0.15714
}

Semantic roles & 50–950 ramp

primary
#CA2C78
secondary
#82D0AA
accent
#E79741
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CA2C78

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

Preview Lab → · Contrast checker → · Palette generator →

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