#C8478C#C8478C

#C8478C is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.5% C 0.178 H 350.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C8478C
RGBrgb(200, 71, 140)
HSLhsl(328, 54%, 53%)
HSVhsv(328, 65%, 78%)
CMYKcmyk(0%, 64.5%, 30%, 21.6%)
CIE-LABlab(50.31, 57.63, -10.99)
CIE-LCHlch(50.31, 58.66, 349.20°)
OKLaboklab(59.5% 0.1754 -0.0285)
OKLCHoklch(59.5% 0.178 350.8)
XYZxyz(30.8077, 18.6825, 26.7895)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8478C #47C883
analogous
#C347C8 #C8478C #C8474B
triadic
#C8478C #8CC847 #478CC8
tetradic
#C8478C #C8C347 #47C883 #474BC8
square
#C8478C #C8C347 #47C883 #474BC8
split-complementary
#C8478C #4BC847 #47C8C3
monochromatic
#72224D #A2306D #C8478C #D676A9 #E4A5C7

Accessibility & contrast

On white

4.43
#C8478C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#C8478C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C8478C
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8478C#FFFFFF#000000##000000
##C8478C1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#59698E
Deuteranopia (green-blind)
#7D8089
Tritanopia (blue-blind)
#D64163
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c8478c;
/* rgb */ color: rgb(200, 71, 140);
/* oklch */ color: oklch(59.5% 0.178 350.8);
Tailwind
colors: {
  custom: {
    50: '#dd82ad',
    500: '#c8478c',
    950: '#000000',
  },
}
SCSS
$custom: #c8478c;
$custom-light: #dd82ad;
$custom-dark: #000000;
JSON
{
  "hex": "#c8478c",
  "rgb": {
    "r": 200,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 327.907,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59503,
    "c": 0.17766,
    "h": 350.8
  },
  "luminance": 0.18679
}

Semantic roles & 50–950 ramp

primary
#C8478C
secondary
#9AD1B3
accent
#DD8F4A
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #C8478C

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

Preview Lab → · Contrast checker → · Palette generator →

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