#C54874#C54874

#C54874 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.3% C 0.164 H 1.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C54874
RGBrgb(197, 72, 116)
HSLhsl(339, 52%, 53%)
HSVhsv(339, 63%, 77%)
CMYKcmyk(0%, 63.5%, 41.1%, 22.7%)
CIE-LABlab(49.22, 53.55, 1.77)
CIE-LCHlch(49.22, 53.58, 1.89°)
OKLaboklab(58.35% 0.1636 0.0052)
OKLCHoklch(58.35% 0.164 1.8)
XYZxyz(28.4976, 17.7693, 18.4487)
Luminance0.1777 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54874 #48C599
analogous
#C548B2 #C54874 #C55A48
triadic
#C54874 #74C548 #4874C5
tetradic
#C54874 #B2C548 #48C599 #5A48C5
square
#C54874 #B2C548 #48C599 #5A48C5
split-complementary
#C54874 #48C55A #48B2C5
monochromatic
#6F233E #9E3258 #C54874 #D47697 #E2A5BB

Accessibility & contrast

On white

4.61
#C54874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C54874
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54874#FFFFFF#000000##FFFFFF
##C548741.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606675
Deuteranopia (green-blind)
#817E71
Tritanopia (blue-blind)
#D53A59
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c54874;
/* rgb */ color: rgb(197, 72, 116);
/* oklch */ color: oklch(58.3% 0.164 1.8);
Tailwind
colors: {
  custom: {
    50: '#db829b',
    500: '#c54874',
    950: '#000000',
  },
}
SCSS
$custom: #c54874;
$custom-light: #db829b;
$custom-dark: #000000;
JSON
{
  "hex": "#c54874",
  "rgb": {
    "r": 197,
    "g": 72,
    "b": 116
  },
  "hsl": {
    "h": 338.88,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58346,
    "c": 0.16369,
    "h": 1.8
  },
  "luminance": 0.17766
}

Semantic roles & 50–950 ramp

primary
#C54874
secondary
#99CFBC
accent
#DBA94C
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C54874

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

Preview Lab → · Contrast checker → · Palette generator →

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