#CA478A#CA478A

#CA478A is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.7% C 0.178 H 352.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CA478A
RGBrgb(202, 71, 138)
HSLhsl(329, 55%, 54%)
HSVhsv(329, 65%, 79%)
CMYKcmyk(0%, 64.9%, 31.7%, 20.8%)
CIE-LABlab(50.57, 57.96, -9.37)
CIE-LCHlch(50.57, 58.72, 350.81°)
OKLaboklab(59.73% 0.1767 -0.0241)
OKLCHoklch(59.73% 0.178 352.2)
XYZxyz(31.1994, 18.9014, 26.0451)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA478A #47CA87
analogous
#C847CA #CA478A #CA4748
triadic
#CA478A #8ACA47 #478ACA
tetradic
#CA478A #CAC847 #47CA87 #4748CA
square
#CA478A #CAC847 #47CA87 #4748CA
split-complementary
#CA478A #48CA47 #47CAC8
monochromatic
#75224C #A42F6B #CA478A #D877A8 #E5A6C6

Accessibility & contrast

On white

4.39
#CA478A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#CA478A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA478A
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA478A#FFFFFF#000000##000000
##CA478A1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B698C
Deuteranopia (green-blind)
#7F8187
Tritanopia (blue-blind)
#D93F63
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca478a;
/* rgb */ color: rgb(202, 71, 138);
/* oklch */ color: oklch(59.7% 0.178 352.2);
Tailwind
colors: {
  custom: {
    50: '#de82ac',
    500: '#ca478a',
    950: '#000000',
  },
}
SCSS
$custom: #ca478a;
$custom-light: #de82ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ca478a",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 138
  },
  "hsl": {
    "h": 329.313,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59734,
    "c": 0.17835,
    "h": 352.2
  },
  "luminance": 0.18898
}

Semantic roles & 50–950 ramp

primary
#CA478A
secondary
#9AD2B6
accent
#DF9249
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CA478A

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

Preview Lab → · Contrast checker → · Palette generator →

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