#C54772#C54772

#C54772 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.2% C 0.164 H 2.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C54772
RGBrgb(197, 71, 114)
HSLhsl(340, 52%, 53%)
HSVhsv(340, 64%, 77%)
CMYKcmyk(0%, 64%, 42.1%, 22.7%)
CIE-LABlab(49.00, 53.77, 2.67)
CIE-LCHlch(49.00, 53.84, 2.84°)
OKLaboklab(58.17% 0.1643 0.0075)
OKLCHoklch(58.17% 0.164 2.6)
XYZxyz(28.3184, 17.5950, 17.8212)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54772 #47C59A
analogous
#C547B1 #C54772 #C55B47
triadic
#C54772 #72C547 #4772C5
tetradic
#C54772 #B1C547 #47C59A #5B47C5
square
#C54772 #B1C547 #47C59A #5B47C5
split-complementary
#C54772 #47C55B #47B1C5
monochromatic
#6F233D #9D3256 #C54772 #D47696 #E2A4B9

Accessibility & contrast

On white

4.65
#C54772 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#C54772 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C54772
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54772#FFFFFF#000000##FFFFFF
##C547721.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606573
Deuteranopia (green-blind)
#817D6F
Tritanopia (blue-blind)
#D53858
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c54772;
/* rgb */ color: rgb(197, 71, 114);
/* oklch */ color: oklch(58.2% 0.164 2.6);
Tailwind
colors: {
  custom: {
    50: '#db819a',
    500: '#c54772',
    950: '#000000',
  },
}
SCSS
$custom: #c54772;
$custom-light: #db819a;
$custom-dark: #000000;
JSON
{
  "hex": "#c54772",
  "rgb": {
    "r": 197,
    "g": 71,
    "b": 114
  },
  "hsl": {
    "h": 339.524,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58168,
    "c": 0.16442,
    "h": 2.6
  },
  "luminance": 0.17592
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C54772

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

Preview Lab → · Contrast checker → · Palette generator →

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