#C54872#C54872

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

Color values

HEX#C54872
RGBrgb(197, 72, 114)
HSLhsl(340, 52%, 53%)
HSVhsv(340, 63%, 77%)
CMYKcmyk(0%, 63.5%, 42.1%, 22.7%)
CIE-LABlab(49.16, 53.34, 2.90)
CIE-LCHlch(49.16, 53.42, 3.11°)
OKLaboklab(58.29% 0.1629 0.0081)
OKLCHoklch(58.29% 0.163 2.8)
XYZxyz(28.3825, 17.7233, 17.8426)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54872 #48C59B
analogous
#C548B0 #C54872 #C55C48
triadic
#C54872 #72C548 #4872C5
tetradic
#C54872 #B0C548 #48C59B #5C48C5
square
#C54872 #B0C548 #48C59B #5C48C5
split-complementary
#C54872 #48C55C #48B0C5
monochromatic
#6F233D #9E3256 #C54872 #D47696 #E2A5BA

Accessibility & contrast

On white

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

On black

4.54
#C54872 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C54872#FFFFFF#000000##FFFFFF
##C548721.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616673
Deuteranopia (green-blind)
#827E6F
Tritanopia (blue-blind)
#D53958
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c54872;
/* rgb */ color: rgb(197, 72, 114);
/* oklch */ color: oklch(58.3% 0.163 2.8);
Tailwind
colors: {
  custom: {
    50: '#db829a',
    500: '#c54872',
    950: '#000000',
  },
}
SCSS
$custom: #c54872;
$custom-light: #db829a;
$custom-dark: #000000;
JSON
{
  "hex": "#c54872",
  "rgb": {
    "r": 197,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 339.84,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58286,
    "c": 0.1631,
    "h": 2.8
  },
  "luminance": 0.1772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C54872

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

Preview Lab → · Contrast checker → · Palette generator →

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