#CA478C#CA478C

#CA478C is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.8% C 0.179 H 351.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CA478C
RGBrgb(202, 71, 140)
HSLhsl(328, 55%, 54%)
HSVhsv(328, 65%, 79%)
CMYKcmyk(0%, 64.9%, 30.7%, 20.8%)
CIE-LABlab(50.64, 58.21, -10.47)
CIE-LCHlch(50.64, 59.14, 349.81°)
OKLaboklab(59.81% 0.1773 -0.0271)
OKLCHoklch(59.81% 0.179 351.3)
XYZxyz(31.3455, 18.9598, 26.8147)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA478C #47CA85
analogous
#C647CA #CA478C #CA474A
triadic
#CA478C #8CCA47 #478CCA
tetradic
#CA478C #CAC647 #47CA85 #474ACA
square
#CA478C #CAC647 #47CA85 #474ACA
split-complementary
#CA478C #4ACA47 #47CAC6
monochromatic
#75224E #A42F6D #CA478C #D877AA #E5A6C7

Accessibility & contrast

On white

4.38
#CA478C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CA478C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA478C
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA478C#FFFFFF#000000##000000
##CA478C1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6A8E
Deuteranopia (green-blind)
#7F8189
Tritanopia (blue-blind)
#D84063
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca478c;
/* rgb */ color: rgb(202, 71, 140);
/* oklch */ color: oklch(59.8% 0.179 351.3);
Tailwind
colors: {
  custom: {
    50: '#de82ad',
    500: '#ca478c',
    950: '#000000',
  },
}
SCSS
$custom: #ca478c;
$custom-light: #de82ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ca478c",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 328.397,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59807,
    "c": 0.17934,
    "h": 351.3
  },
  "luminance": 0.18956
}

Semantic roles & 50–950 ramp

primary
#CA478C
secondary
#9AD2B5
accent
#DF9049
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CA478C

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

Preview Lab → · Contrast checker → · Palette generator →

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