#CA2B78#CA2B78

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

Color values

HEX#CA2B78
RGBrgb(202, 43, 120)
HSLhsl(331, 65%, 48%)
HSVhsv(331, 79%, 79%)
CMYKcmyk(0%, 78.7%, 40.6%, 20.8%)
CIE-LABlab(46.50, 65.69, -4.54)
CIE-LCHlch(46.50, 65.85, 356.05°)
OKLaboklab(56.55% 0.2021 -0.0111)
OKLCHoklch(56.55% 0.202 356.9)
XYZxyz(28.6133, 15.6441, 19.2785)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2B78 #2BCA7D
analogous
#CA2BC8 #CA2B78 #CA2D2B
triadic
#CA2B78 #78CA2B #2B78CA
tetradic
#CA2B78 #C8CA2B #2BCA7D #2D2BCA
square
#CA2B78 #C8CA2B #2BCA7D #2D2BCA
split-complementary
#CA2B78 #2BCA2D #2BC8CA
monochromatic
#65163C #98205A #CA2B78 #DB5797 #E689B6

Accessibility & contrast

On white

5.09
#CA2B78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#CA2B78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2B78
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2B78#FFFFFF#000000##FFFFFF
##CA2B781.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca2b78;
/* rgb */ color: rgb(202, 43, 120);
/* oklch */ color: oklch(56.5% 0.202 356.9);
Tailwind
colors: {
  custom: {
    50: '#e0759e',
    500: '#ca2b78',
    950: '#000000',
  },
}
SCSS
$custom: #ca2b78;
$custom-light: #e0759e;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2b78",
  "rgb": {
    "r": 202,
    "g": 43,
    "b": 120
  },
  "hsl": {
    "h": 330.943,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5655,
    "c": 0.20238,
    "h": 356.9
  },
  "luminance": 0.1564
}

Semantic roles & 50–950 ramp

primary
#CA2B78
secondary
#81D0AA
accent
#E89740
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CA2B78

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

Preview Lab → · Contrast checker → · Palette generator →

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