#C2478D#C2478D

#C2478D is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.6% C 0.173 H 348.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C2478D
RGBrgb(194, 71, 141)
HSLhsl(326, 50%, 52%)
HSVhsv(326, 63%, 76%)
CMYKcmyk(0%, 63.4%, 27.3%, 23.9%)
CIE-LABlab(49.38, 56.01, -13.10)
CIE-LCHlch(49.38, 57.52, 346.84°)
OKLaboklab(58.64% 0.1698 -0.0343)
OKLCHoklch(58.64% 0.173 348.6)
XYZxyz(29.3103, 17.9019, 27.1059)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2478D #47C27C
analogous
#BA47C2 #C2478D #C24750
triadic
#C2478D #8DC247 #478DC2
tetradic
#C2478D #C2BA47 #47C27C #4750C2
square
#C2478D #C2BA47 #47C27C #4750C2
split-complementary
#C2478D #50C247 #47C2BA
monochromatic
#6B244C #99336D #C2478D #D175A9 #E0A3C6

Accessibility & contrast

On white

4.59
#C2478D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#C2478D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C2478D
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2478D#FFFFFF#000000##FFFFFF
##C2478D1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56688F
Deuteranopia (green-blind)
#797D8A
Tritanopia (blue-blind)
#CF4364
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c2478d;
/* rgb */ color: rgb(194, 71, 141);
/* oklch */ color: oklch(58.6% 0.173 348.6);
Tailwind
colors: {
  custom: {
    50: '#d882ae',
    500: '#c2478d',
    950: '#000000',
  },
}
SCSS
$custom: #c2478d;
$custom-light: #d882ae;
$custom-dark: #000000;
JSON
{
  "hex": "#c2478d",
  "rgb": {
    "r": 194,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 325.854,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58636,
    "c": 0.1732,
    "h": 348.6
  },
  "luminance": 0.17899
}

Semantic roles & 50–950 ramp

primary
#C2478D
secondary
#97CDAF
accent
#DA8A4E
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C2478D

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

Preview Lab → · Contrast checker → · Palette generator →

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