#C54878#C54878

#C54878 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.5% C 0.165 H 359.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C54878
RGBrgb(197, 72, 120)
HSLhsl(337, 52%, 53%)
HSVhsv(337, 63%, 77%)
CMYKcmyk(0%, 63.5%, 39.1%, 22.7%)
CIE-LABlab(49.33, 53.98, -0.48)
CIE-LCHlch(49.33, 53.98, 359.49°)
OKLaboklab(58.47% 0.165 -0.0006)
OKLCHoklch(58.47% 0.165 359.8)
XYZxyz(28.7353, 17.8644, 19.7006)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54878 #48C595
analogous
#C548B6 #C54878 #C55648
triadic
#C54878 #78C548 #4878C5
tetradic
#C54878 #B6C548 #48C595 #5648C5
square
#C54878 #B6C548 #48C595 #5648C5
split-complementary
#C54878 #48C556 #48B6C5
monochromatic
#6F2340 #9E325B #C54878 #D4769A #E2A5BD

Accessibility & contrast

On white

4.59
#C54878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#C54878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C54878
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54878#FFFFFF#000000##FFFFFF
##C548781.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6679
Deuteranopia (green-blind)
#817E75
Tritanopia (blue-blind)
#D53B5B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c54878;
/* rgb */ color: rgb(197, 72, 120);
/* oklch */ color: oklch(58.5% 0.165 359.8);
Tailwind
colors: {
  custom: {
    50: '#db829e',
    500: '#c54878',
    950: '#000000',
  },
}
SCSS
$custom: #c54878;
$custom-light: #db829e;
$custom-dark: #000000;
JSON
{
  "hex": "#c54878",
  "rgb": {
    "r": 197,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 336.96,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5847,
    "c": 0.16498,
    "h": 359.8
  },
  "luminance": 0.17861
}

Semantic roles & 50–950 ramp

primary
#C54878
secondary
#99CFBB
accent
#DBA44C
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C54878

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

Preview Lab → · Contrast checker → · Palette generator →

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