#CA4878#CA4878

#CA4878 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.2% C 0.170 H 0.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CA4878
RGBrgb(202, 72, 120)
HSLhsl(338, 55%, 54%)
HSVhsv(338, 64%, 79%)
CMYKcmyk(0%, 64.4%, 40.6%, 20.8%)
CIE-LABlab(50.16, 55.52, 0.83)
CIE-LCHlch(50.16, 55.53, 0.85°)
OKLaboklab(59.24% 0.1697 0.0028)
OKLCHoklch(59.24% 0.17 0.9)
XYZxyz(30.0667, 18.5509, 19.7630)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4878 #48CA9A
analogous
#CA48B9 #CA4878 #CA5948
triadic
#CA4878 #78CA48 #4878CA
tetradic
#CA4878 #B9CA48 #48CA9A #5948CA
square
#CA4878 #B9CA48 #48CA9A #5948CA
split-complementary
#CA4878 #48CA59 #48B9CA
monochromatic
#762241 #A5305B #CA4878 #D8779B #E5A7BE

Accessibility & contrast

On white

4.46
#CA4878 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CA4878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4878
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4878#FFFFFF#000000##000000
##CA48781.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#616879
Deuteranopia (green-blind)
#848175
Tritanopia (blue-blind)
#DA3A5B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ca4878;
/* rgb */ color: rgb(202, 72, 120);
/* oklch */ color: oklch(59.2% 0.170 0.9);
Tailwind
colors: {
  custom: {
    50: '#df829e',
    500: '#ca4878',
    950: '#000000',
  },
}
SCSS
$custom: #ca4878;
$custom-light: #df829e;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4878",
  "rgb": {
    "r": 202,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 337.846,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59242,
    "c": 0.16976,
    "h": 0.9
  },
  "luminance": 0.18547
}

Semantic roles & 50–950 ramp

primary
#CA4878
secondary
#9BD3BE
accent
#DEA749
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CA4878

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

Preview Lab → · Contrast checker → · Palette generator →

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