#C54C8B#C54C8B

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

Color values

HEX#C54C8B
RGBrgb(197, 76, 139)
HSLhsl(329, 51%, 54%)
HSVhsv(329, 61%, 77%)
CMYKcmyk(0%, 61.4%, 29.4%, 22.7%)
CIE-LABlab(50.58, 54.49, -10.04)
CIE-LCHlch(50.58, 55.40, 349.56°)
OKLaboklab(59.59% 0.1655 -0.026)
OKLCHoklch(59.59% 0.168 351.1)
XYZxyz(30.2720, 18.9064, 26.4761)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54C8B #4CC586
analogous
#C24CC5 #C54C8B #C54C4E
triadic
#C54C8B #8BC54C #4C8BC5
tetradic
#C54C8B #C5C24C #4CC586 #4C4EC5
square
#C54C8B #C5C24C #4CC586 #4C4EC5
split-complementary
#C54C8B #4EC54C #4CC5C2
monochromatic
#72254D #A0346C #C54C8B #D47AA9 #E3A8C7

Accessibility & contrast

On white

4.39
#C54C8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#C54C8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54C8B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54C8B#FFFFFF#000000##000000
##C54C8B1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c54c8b;
/* rgb */ color: rgb(197, 76, 139);
/* oklch */ color: oklch(59.6% 0.168 351.1);
Tailwind
colors: {
  custom: {
    50: '#da84ac',
    500: '#c54c8b',
    950: '#000000',
  },
}
SCSS
$custom: #c54c8b;
$custom-light: #da84ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c54c8b",
  "rgb": {
    "r": 197,
    "g": 76,
    "b": 139
  },
  "hsl": {
    "h": 328.76,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59594,
    "c": 0.16756,
    "h": 351.1
  },
  "luminance": 0.18903
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C54C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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