#C5478C#C5478C

#C5478C is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.1% C 0.175 H 349.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C5478C
RGBrgb(197, 71, 140)
HSLhsl(327, 52%, 53%)
HSVhsv(327, 64%, 77%)
CMYKcmyk(0%, 64%, 28.9%, 22.7%)
CIE-LABlab(49.83, 56.75, -11.77)
CIE-LCHlch(49.83, 57.96, 348.28°)
OKLaboklab(59.05% 0.1724 -0.0307)
OKLCHoklch(59.05% 0.175 349.9)
XYZxyz(30.0142, 18.2734, 26.7523)
Luminance0.1827 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5478C #47C580
analogous
#BF47C5 #C5478C #C5474D
triadic
#C5478C #8CC547 #478CC5
tetradic
#C5478C #C5BF47 #47C580 #474DC5
square
#C5478C #C5BF47 #47C580 #474DC5
split-complementary
#C5478C #4DC547 #47C5BF
monochromatic
#6F234C #9D326D #C5478C #D476A9 #E2A4C6

Accessibility & contrast

On white

4.51
#C5478C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#C5478C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C5478C
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5478C#FFFFFF#000000##000000
##C5478C1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#58688E
Deuteranopia (green-blind)
#7B7F89
Tritanopia (blue-blind)
#D34163
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c5478c;
/* rgb */ color: rgb(197, 71, 140);
/* oklch */ color: oklch(59.1% 0.175 349.9);
Tailwind
colors: {
  custom: {
    50: '#da82ad',
    500: '#c5478c',
    950: '#000000',
  },
}
SCSS
$custom: #c5478c;
$custom-light: #da82ad;
$custom-dark: #000000;
JSON
{
  "hex": "#c5478c",
  "rgb": {
    "r": 197,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 327.143,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5905,
    "c": 0.17515,
    "h": 349.9
  },
  "luminance": 0.1827
}

Semantic roles & 50–950 ramp

primary
#C5478C
secondary
#99CFB1
accent
#DC8D4C
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C5478C

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

Preview Lab → · Contrast checker → · Palette generator →

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