#C54873#C54873

#C54873 is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.3% C 0.163 H 2.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C54873
RGBrgb(197, 72, 115)
HSLhsl(339, 52%, 53%)
HSVhsv(339, 63%, 77%)
CMYKcmyk(0%, 63.5%, 41.6%, 22.7%)
CIE-LABlab(49.19, 53.45, 2.33)
CIE-LCHlch(49.19, 53.50, 2.50°)
OKLaboklab(58.32% 0.1633 0.0067)
OKLCHoklch(58.32% 0.163 2.3)
XYZxyz(28.4398, 17.7462, 18.1440)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54873 #48C59A
analogous
#C548B1 #C54873 #C55B48
triadic
#C54873 #73C548 #4873C5
tetradic
#C54873 #B1C548 #48C59A #5B48C5
square
#C54873 #B1C548 #48C59A #5B48C5
split-complementary
#C54873 #48C55B #48B1C5
monochromatic
#6F233D #9E3257 #C54873 #D47697 #E2A5BA

Accessibility & contrast

On white

4.62
#C54873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#C54873 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C54873
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54873#FFFFFF#000000##FFFFFF
##C548731.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606674
Deuteranopia (green-blind)
#827E70
Tritanopia (blue-blind)
#D53A59
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c54873;
/* rgb */ color: rgb(197, 72, 115);
/* oklch */ color: oklch(58.3% 0.163 2.3);
Tailwind
colors: {
  custom: {
    50: '#db829b',
    500: '#c54873',
    950: '#000000',
  },
}
SCSS
$custom: #c54873;
$custom-light: #db829b;
$custom-dark: #000000;
JSON
{
  "hex": "#c54873",
  "rgb": {
    "r": 197,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 339.36,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58316,
    "c": 0.1634,
    "h": 2.3
  },
  "luminance": 0.17743
}

Semantic roles & 50–950 ramp

primary
#C54873
secondary
#99CFBD
accent
#DBAA4C
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C54873

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

Preview Lab → · Contrast checker → · Palette generator →

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