#CA478B#CA478B

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

Color values

HEX#CA478B
RGBrgb(202, 71, 139)
HSLhsl(329, 55%, 54%)
HSVhsv(329, 65%, 79%)
CMYKcmyk(0%, 64.9%, 31.2%, 20.8%)
CIE-LABlab(50.61, 58.08, -9.92)
CIE-LCHlch(50.61, 58.92, 350.31°)
OKLaboklab(59.77% 0.177 -0.0256)
OKLCHoklch(59.77% 0.179 351.8)
XYZxyz(31.2721, 18.9305, 26.4281)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA478B #47CA86
analogous
#C747CA #CA478B #CA4749
triadic
#CA478B #8BCA47 #478BCA
tetradic
#CA478B #CAC747 #47CA86 #4749CA
square
#CA478B #CAC747 #47CA86 #4749CA
split-complementary
#CA478B #49CA47 #47CAC7
monochromatic
#75224D #A42F6C #CA478B #D877A9 #E5A6C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA478B#FFFFFF#000000##000000
##CA478B1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca478b;
/* rgb */ color: rgb(202, 71, 139);
/* oklch */ color: oklch(59.8% 0.179 351.8);
Tailwind
colors: {
  custom: {
    50: '#de82ac',
    500: '#ca478b',
    950: '#000000',
  },
}
SCSS
$custom: #ca478b;
$custom-light: #de82ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ca478b",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 328.855,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5977,
    "c": 0.17883,
    "h": 351.8
  },
  "luminance": 0.18927
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA478B

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

Preview Lab → · Contrast checker → · Palette generator →

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