#CA2A78#CA2A78

#CA2A78 is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 56.5% C 0.203 H 356.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CA2A78
RGBrgb(202, 42, 120)
HSLhsl(331, 66%, 48%)
HSVhsv(331, 79%, 79%)
CMYKcmyk(0%, 79.2%, 40.6%, 20.8%)
CIE-LABlab(46.41, 65.96, -4.68)
CIE-LCHlch(46.41, 66.13, 355.94°)
OKLaboklab(56.48% 0.203 -0.0115)
OKLCHoklch(56.48% 0.203 356.8)
XYZxyz(28.5774, 15.5723, 19.2666)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2A78 #2ACA7C
analogous
#CA2AC8 #CA2A78 #CA2C2A
triadic
#CA2A78 #78CA2A #2A78CA
tetradic
#CA2A78 #C8CA2A #2ACA7C #2C2ACA
square
#CA2A78 #C8CA2A #2ACA7C #2C2ACA
split-complementary
#CA2A78 #2ACA2C #2AC8CA
monochromatic
#65153C #971F5A #CA2A78 #DC5597 #E688B6

Accessibility & contrast

On white

5.10
#CA2A78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#CA2A78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2A78
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2A78#FFFFFF#000000##FFFFFF
##CA2A781.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca2a78;
/* rgb */ color: rgb(202, 42, 120);
/* oklch */ color: oklch(56.5% 0.203 356.8);
Tailwind
colors: {
  custom: {
    50: '#e0759e',
    500: '#ca2a78',
    950: '#000000',
  },
}
SCSS
$custom: #ca2a78;
$custom-light: #e0759e;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2a78",
  "rgb": {
    "r": 202,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 330.75,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5648,
    "c": 0.20327,
    "h": 356.8
  },
  "luminance": 0.15569
}

Semantic roles & 50–950 ramp

primary
#CA2A78
secondary
#80D0A9
accent
#E9963F
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #CA2A78

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

Preview Lab → · Contrast checker → · Palette generator →

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