#C8478D#C8478D

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

Color values

HEX#C8478D
RGBrgb(200, 71, 141)
HSLhsl(327, 54%, 53%)
HSVhsv(327, 65%, 78%)
CMYKcmyk(0%, 64.5%, 29.5%, 21.6%)
CIE-LABlab(50.35, 57.75, -11.53)
CIE-LCHlch(50.35, 58.89, 348.71°)
OKLaboklab(59.54% 0.1756 -0.03)
OKLCHoklch(59.54% 0.178 350.3)
XYZxyz(30.8818, 18.7122, 27.1796)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8478D #47C882
analogous
#C347C8 #C8478D #C8474C
triadic
#C8478D #8DC847 #478DC8
tetradic
#C8478D #C8C347 #47C882 #474CC8
square
#C8478D #C8C347 #47C882 #474CC8
split-complementary
#C8478D #4CC847 #47C8C3
monochromatic
#72224E #A2306E #C8478D #D676AA #E4A5C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8478D#FFFFFF#000000##000000
##C8478D1.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)
#59698F
Deuteranopia (green-blind)
#7D808A
Tritanopia (blue-blind)
#D64164
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c8478d;
/* rgb */ color: rgb(200, 71, 141);
/* oklch */ color: oklch(59.5% 0.178 350.3);
Tailwind
colors: {
  custom: {
    50: '#dd82ae',
    500: '#c8478d',
    950: '#000000',
  },
}
SCSS
$custom: #c8478d;
$custom-light: #dd82ae;
$custom-dark: #000000;
JSON
{
  "hex": "#c8478d",
  "rgb": {
    "r": 200,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 327.442,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59541,
    "c": 0.17818,
    "h": 350.3
  },
  "luminance": 0.18709
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8478D

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

Preview Lab → · Contrast checker → · Palette generator →

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