#C54C8A#C54C8A

#C54C8A is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.6% C 0.167 H 351.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C54C8A
RGBrgb(197, 76, 138)
HSLhsl(329, 51%, 54%)
HSVhsv(329, 61%, 77%)
CMYKcmyk(0%, 61.4%, 29.9%, 22.7%)
CIE-LABlab(50.54, 54.36, -9.50)
CIE-LCHlch(50.54, 55.18, 350.09°)
OKLaboklab(59.56% 0.1652 -0.0245)
OKLCHoklch(59.56% 0.167 351.5)
XYZxyz(30.1992, 18.8773, 26.0931)
Luminance0.1887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54C8A #4CC587
analogous
#C34CC5 #C54C8A #C54C4D
triadic
#C54C8A #8AC54C #4C8AC5
tetradic
#C54C8A #C5C34C #4CC587 #4C4DC5
square
#C54C8A #C5C34C #4CC587 #4C4DC5
split-complementary
#C54C8A #4DC54C #4CC5C3
monochromatic
#72254C #A0346B #C54C8A #D47AA8 #E3A8C6

Accessibility & contrast

On white

4.40
#C54C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#C54C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54C8A
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54C8A#FFFFFF#000000##000000
##C54C8A1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6B8C
Deuteranopia (green-blind)
#7E8087
Tritanopia (blue-blind)
#D34665
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c54c8a;
/* rgb */ color: rgb(197, 76, 138);
/* oklch */ color: oklch(59.6% 0.167 351.5);
Tailwind
colors: {
  custom: {
    50: '#da84ac',
    500: '#c54c8a',
    950: '#000000',
  },
}
SCSS
$custom: #c54c8a;
$custom-light: #da84ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c54c8a",
  "rgb": {
    "r": 197,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 329.256,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59557,
    "c": 0.16705,
    "h": 351.5
  },
  "luminance": 0.18874
}

Semantic roles & 50–950 ramp

primary
#C54C8A
secondary
#9CD0B6
accent
#DB924D
background
#FDF8FA
surface
#FBF0F4
border
#D4CBCE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C54C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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