#C54879#C54879

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

Color values

HEX#C54879
RGBrgb(197, 72, 121)
HSLhsl(336, 52%, 53%)
HSVhsv(336, 63%, 77%)
CMYKcmyk(0%, 63.5%, 38.6%, 22.7%)
CIE-LABlab(49.36, 54.09, -1.04)
CIE-LCHlch(49.36, 54.10, 358.90°)
OKLaboklab(58.5% 0.1653 -0.002)
OKLCHoklch(58.5% 0.165 359.3)
XYZxyz(28.7963, 17.8888, 20.0219)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54879 #48C594
analogous
#C548B7 #C54879 #C55548
triadic
#C54879 #79C548 #4879C5
tetradic
#C54879 #B7C548 #48C594 #5548C5
square
#C54879 #B7C548 #48C594 #5548C5
split-complementary
#C54879 #48C555 #48B7C5
monochromatic
#6F2341 #9E325C #C54879 #D4769B #E2A5BD

Accessibility & contrast

On white

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

On black

4.58
#C54879 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C54879#FFFFFF#000000##FFFFFF
##C548791.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F667A
Deuteranopia (green-blind)
#807E76
Tritanopia (blue-blind)
#D43C5B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c54879;
/* rgb */ color: rgb(197, 72, 121);
/* oklch */ color: oklch(58.5% 0.165 359.3);
Tailwind
colors: {
  custom: {
    50: '#db829f',
    500: '#c54879',
    950: '#000000',
  },
}
SCSS
$custom: #c54879;
$custom-light: #db829f;
$custom-dark: #000000;
JSON
{
  "hex": "#c54879",
  "rgb": {
    "r": 197,
    "g": 72,
    "b": 121
  },
  "hsl": {
    "h": 336.48,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58502,
    "c": 0.16533,
    "h": 359.3
  },
  "luminance": 0.17886
}

Semantic roles & 50–950 ramp

primary
#C54879
secondary
#99CFBA
accent
#DBA34C
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C54879

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

Preview Lab → · Contrast checker → · Palette generator →

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