#C2478A#C2478A

#C2478A is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.5% C 0.172 H 350.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C2478A
RGBrgb(194, 71, 138)
HSLhsl(327, 50%, 52%)
HSVhsv(327, 63%, 76%)
CMYKcmyk(0%, 63.4%, 28.9%, 23.9%)
CIE-LABlab(49.27, 55.62, -11.46)
CIE-LCHlch(49.27, 56.79, 348.36°)
OKLaboklab(58.52% 0.169 -0.0299)
OKLCHoklch(58.52% 0.172 350)
XYZxyz(29.0901, 17.8138, 25.9462)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2478A #47C27F
analogous
#BD47C2 #C2478A #C2474D
triadic
#C2478A #8AC247 #478AC2
tetradic
#C2478A #C2BD47 #47C27F #474DC2
square
#C2478A #C2BD47 #47C27F #474DC2
split-complementary
#C2478A #4DC247 #47C2BD
monochromatic
#6B244B #99336A #C2478A #D175A7 #E0A3C4

Accessibility & contrast

On white

4.60
#C2478A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#C2478A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C2478A
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2478A#FFFFFF#000000##FFFFFF
##C2478A1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57678C
Deuteranopia (green-blind)
#7A7D87
Tritanopia (blue-blind)
#CF4262
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c2478a;
/* rgb */ color: rgb(194, 71, 138);
/* oklch */ color: oklch(58.5% 0.172 350.0);
Tailwind
colors: {
  custom: {
    50: '#d881ac',
    500: '#c2478a',
    950: '#000000',
  },
}
SCSS
$custom: #c2478a;
$custom-light: #d881ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c2478a",
  "rgb": {
    "r": 194,
    "g": 71,
    "b": 138
  },
  "hsl": {
    "h": 327.317,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58522,
    "c": 0.17157,
    "h": 350
  },
  "luminance": 0.17811
}

Semantic roles & 50–950 ramp

primary
#C2478A
secondary
#97CDB0
accent
#DA8E4E
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C2478A

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

Preview Lab → · Contrast checker → · Palette generator →

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