#CA4978#CA4978

#CA4978 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.4% C 0.168 H 1.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CA4978
RGBrgb(202, 73, 120)
HSLhsl(338, 55%, 54%)
HSVhsv(338, 64%, 79%)
CMYKcmyk(0%, 63.9%, 40.6%, 20.8%)
CIE-LABlab(50.31, 55.10, 1.05)
CIE-LCHlch(50.31, 55.11, 1.09°)
OKLaboklab(59.36% 0.1684 0.0034)
OKLCHoklch(59.36% 0.168 1.1)
XYZxyz(30.1318, 18.6812, 19.7847)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4978 #49CA9B
analogous
#CA49B8 #CA4978 #CA5B49
triadic
#CA4978 #78CA49 #4978CA
tetradic
#CA4978 #B8CA49 #49CA9B #5B49CA
square
#CA4978 #B8CA49 #49CA9B #5B49CA
split-complementary
#CA4978 #49CA5B #49B8CA
monochromatic
#762241 #A6305B #CA4978 #D8789B #E6A8BE

Accessibility & contrast

On white

4.43
#CA4978 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CA4978 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4978
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4978#FFFFFF#000000##000000
##CA49781.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#626879
Deuteranopia (green-blind)
#848175
Tritanopia (blue-blind)
#DA3B5C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca4978;
/* rgb */ color: rgb(202, 73, 120);
/* oklch */ color: oklch(59.4% 0.168 1.1);
Tailwind
colors: {
  custom: {
    50: '#df839e',
    500: '#ca4978',
    950: '#000000',
  },
}
SCSS
$custom: #ca4978;
$custom-light: #df839e;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4978",
  "rgb": {
    "r": 202,
    "g": 73,
    "b": 120
  },
  "hsl": {
    "h": 338.14,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59357,
    "c": 0.16844,
    "h": 1.1
  },
  "luminance": 0.18678
}

Semantic roles & 50–950 ramp

primary
#CA4978
secondary
#9CD3BF
accent
#DEA84A
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CA4978

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

Preview Lab → · Contrast checker → · Palette generator →

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