#C54B8A#C54B8A

#C54B8A is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.4% C 0.168 H 351.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C54B8A
RGBrgb(197, 75, 138)
HSLhsl(329, 51%, 53%)
HSVhsv(329, 62%, 77%)
CMYKcmyk(0%, 61.9%, 29.9%, 22.7%)
CIE-LABlab(50.38, 54.80, -9.74)
CIE-LCHlch(50.38, 55.66, 349.92°)
OKLaboklab(59.44% 0.1666 -0.0252)
OKLCHoklch(59.44% 0.168 351.4)
XYZxyz(30.1309, 18.7405, 26.0703)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54B8A #4BC586
analogous
#C34BC5 #C54B8A #C54B4D
triadic
#C54B8A #8AC54B #4B8AC5
tetradic
#C54B8A #C5C34B #4BC586 #4B4DC5
square
#C54B8A #C5C34B #4BC586 #4B4DC5
split-complementary
#C54B8A #4DC54B #4BC5C3
monochromatic
#71244C #9F336B #C54B8A #D479A8 #E3A8C6

Accessibility & contrast

On white

4.42
#C54B8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#C54B8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54B8A
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54B8A#FFFFFF#000000##000000
##C54B8A1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c54b8a;
/* rgb */ color: rgb(197, 75, 138);
/* oklch */ color: oklch(59.4% 0.168 351.4);
Tailwind
colors: {
  custom: {
    50: '#da84ac',
    500: '#c54b8a',
    950: '#000000',
  },
}
SCSS
$custom: #c54b8a;
$custom-light: #da84ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c54b8a",
  "rgb": {
    "r": 197,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 329.016,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59438,
    "c": 0.16849,
    "h": 351.4
  },
  "luminance": 0.18737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C54B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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