#C0478B#C0478B

#C0478B is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.3% C 0.170 H 348.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C0478B
RGBrgb(192, 71, 139)
HSLhsl(326, 49%, 52%)
HSVhsv(326, 63%, 75%)
CMYKcmyk(0%, 63%, 27.6%, 24.7%)
CIE-LABlab(48.98, 55.16, -12.52)
CIE-LCHlch(48.98, 56.57, 347.21°)
OKLaboklab(58.26% 0.1672 -0.0328)
OKLCHoklch(58.26% 0.17 348.9)
XYZxyz(28.6529, 17.5799, 26.3054)
Luminance0.1758 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0478B #47C07C
analogous
#B947C0 #C0478B #C0474F
triadic
#C0478B #8BC047 #478BC0
tetradic
#C0478B #C0B947 #47C07C #474FC0
square
#C0478B #C0B947 #47C07C #474FC0
split-complementary
#C0478B #4FC047 #47C0B9
monochromatic
#69244B #96336B #C0478B #D075A8 #DFA2C4

Accessibility & contrast

On white

4.65
#C0478B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#C0478B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C0478B
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0478B#FFFFFF#000000##FFFFFF
##C0478B1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56678D
Deuteranopia (green-blind)
#787C88
Tritanopia (blue-blind)
#CD4363
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c0478b;
/* rgb */ color: rgb(192, 71, 139);
/* oklch */ color: oklch(58.3% 0.170 348.9);
Tailwind
colors: {
  custom: {
    50: '#d781ad',
    500: '#c0478b',
    950: '#000000',
  },
}
SCSS
$custom: #c0478b;
$custom-light: #d781ad;
$custom-dark: #000000;
JSON
{
  "hex": "#c0478b",
  "rgb": {
    "r": 192,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 326.281,
    "s": 48.988,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58259,
    "c": 0.17042,
    "h": 348.9
  },
  "luminance": 0.17577
}

Semantic roles & 50–950 ramp

primary
#C0478B
secondary
#97CCAE
accent
#D98B4F
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C0478B

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

Preview Lab → · Contrast checker → · Palette generator →

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