#C8478F#C8478F

#C8478F is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.6% C 0.179 H 349.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C8478F
RGBrgb(200, 71, 143)
HSLhsl(327, 54%, 53%)
HSVhsv(327, 65%, 78%)
CMYKcmyk(0%, 64.5%, 28.5%, 21.6%)
CIE-LABlab(50.42, 58.00, -12.62)
CIE-LCHlch(50.42, 59.36, 347.72°)
OKLaboklab(59.62% 0.1762 -0.033)
OKLCHoklch(59.62% 0.179 349.4)
XYZxyz(31.0320, 18.7722, 27.9704)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8478F #47C880
analogous
#C147C8 #C8478F #C8474E
triadic
#C8478F #8FC847 #478FC8
tetradic
#C8478F #C8C147 #47C880 #474EC8
square
#C8478F #C8C147 #47C880 #474EC8
split-complementary
#C8478F #4EC847 #47C8C1
monochromatic
#72224F #A2306F #C8478F #D676AC #E4A5C8

Accessibility & contrast

On white

4.42
#C8478F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#C8478F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C8478F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8478F#FFFFFF#000000##000000
##C8478F1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#586A91
Deuteranopia (green-blind)
#7D808C
Tritanopia (blue-blind)
#D64265
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c8478f;
/* rgb */ color: rgb(200, 71, 143);
/* oklch */ color: oklch(59.6% 0.179 349.4);
Tailwind
colors: {
  custom: {
    50: '#dd82af',
    500: '#c8478f',
    950: '#000000',
  },
}
SCSS
$custom: #c8478f;
$custom-light: #dd82af;
$custom-dark: #000000;
JSON
{
  "hex": "#c8478f",
  "rgb": {
    "r": 200,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 326.512,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59616,
    "c": 0.17922,
    "h": 349.4
  },
  "luminance": 0.18769
}

Semantic roles & 50–950 ramp

primary
#C8478F
secondary
#9AD1B2
accent
#DD8B4A
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #C8478F

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

Preview Lab → · Contrast checker → · Palette generator →

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